Fix Tablet UI WiFi Text

If custom carrier label was selected, it was overwriting the
wifi SSID display on Tablet Notification Title.

Change-Id: Iab647759d64c47ec47c9a093be36e58e7cbdd345
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Remove trailing tab

Change-Id: I5b715bd014db2b82395c7a3cd91f7381c83667e7
SystemUI: RAM bar view optimizations

findViewById() was being called every time updateSettings()
was being called. Instead, let's instantiate them once, and
remove calls to updateSettings() since it will be called
on its own when the setting values change.

Change-Id: Iaa02343caccb615921219be2a56b3bac4f3263b9
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Revert "hwui: This code should only be enabled with QCOM_BSP"

This reverts commit 264091bcfb64e834f09915f504597b9a12dd5ed7

Change-Id: I1682ee8d2aa16a2c9353c4e7542eb3f5a06bf96b
Set foreground priority for shutdown receivers.

The broadcast of ACTION_SHUTDOWN has a timeout of 10 seconds. To
reduce the risk of hitting the timeout and speeding up the
shutdown sequence in ShutdownThread we set the priority of the
BroadcastReceivers to FLAG_RECEIVER_FOREGROUND.

We have seen that this change reduces the shutdown time when
the system is under heavy load.

Change-Id: I22cbf6af8cf6fc4bdefaa1c3da8a7eed7e7b7674
Lockscreen : Use correct filter for background

Switch over to SRC_ATOP filter instead of using MULTIPLY.

Change-Id: Ic87075e11937c55afc620e50260a60dd0e5f9d63
Random colors for QS onFlip [1/2]

Changes the colors os QS only when flipped.

Ported from TeamBAMF so all credits to them.

ps4- reworked to set all tiles random
on option selected, and random color onClick && onFlip,
and go back to selected color when option is deselected.
Had to move the code for tile bg color to
QuickSettingsTile to acomodate this feature,
also when option is selected and qsFlip is deselected
colors still change on click.

ps5- removed all extra tabs and white spaces.

Change-Id: I3b7dda327db0c58e3629d8f4b6ecce3932aef254
Add support for Samsung extended AGPS

The AGPS implementation in the GPS chipset used in some Samsung devices
(i9100, i9300) can make use of the Psc field. Adapt the relevant
functions hiding the changes incompatible with other devices under the
AGPS_USE_PSC #define.

Credit to Qaweck from xda-developers forum for finding the meaning
of the field.

Change-Id: Ie4691c79ca379a1f5c0a87500c1b06b56ae7ac0d
Profile: Filter on NETWORK_STATE_CHANGED instead of SUPPLICANT_STATE_CHANGED

For more reliable network change detection use NETWORK_STATE_CHANGED
instead of SUPPLICANT_STATE_CHANGED

Only set profile when profile actually changed.
Use getWifiSsid instead of getSSID so we dont have to strip double
quotes ourselves, add null pointer exception check because function can
now be called when WiFi is off.

Change-Id: I2b4ea65fdb484edb39a14725c648d9ab0d5d36fb
systemui: Add CONNECTIVITY_INTERNAL permission

 * SystemUI needs to be able to list interfaces if tethering is in use
   and we ask for a second tethering path to be set up (BT+USB, etc).
 * Add permission to stop exceptions in the framework and enable
   tethering thru multiple paths.

Change-Id: If7a65c31557dc2f0451f0612fb109f61e8056368
Core: HU translation

PS2: Update (Thanks Danny)

Change-Id: I1ca6930599b575ebd78a1967950c3731361c2108
frameworks_base_core: ES translations

- PrivacyGuard

Change-Id: I6fb7d2e1d7a57aad7b61d604338951b8815593b4
Core: RU translation

Change-Id: Id7b44683c7fc89397ae743ce15f8825947dec43b

Patch Set 3: Update translation

Change-Id: Ie981063b48586f0cedca75e3b9febb7ac3a22712

Patch Set 4: Update translation

Change-Id: I8cb9d98411bf729b3306daa4a13c34913e00ee01

Conflicts:
	core/res/res/values-ru/cm_strings.xml

Change-Id: I8cb9d98411bf729b3306daa4a13c34913e00ee01
Revert "Add support for Samsung extended AGPS"

This reverts commit 9400fc87143a86746550bbcf47b10ba8d7dbbe9b.
It wasn't supposed to be pushed or merged, since it might depend
on not yet merged commits in CM repos that we don't control.

Change-Id: I4263b91ee3701105b610a99e479e772465de2be6
HALO Style revamp

- speech bubbles are centered
- number batches are roundand simplified, same color as in g+
- markers appear as dots above the bubble
- hiding and dimissing triggers text hints
- couple of bugfixes

WARNING: some of the drawables are good for xhdpi only for now and must
be scaled down for the other resolutions

Patch Set 2: hdpi and mdpi drawables added

Change-Id: Ib656664f6f8c42b747df18d65d1e3fb40cb7480c
Finish the floating activity again

Change-Id: I1db29ddd2c056d7645f1028e084face815a44e0c
HALO hiddenstate-fix + smaller numberbatch

once HALO is hidden an orientationchange won't wake it up getting in
your way.

Change-Id: Id7c2232e4e3e6e49392becbdcddeb1a494faafc8
HALO cleanup & better drawables

Change-Id: I7afb5f1e473e9611059e1ea2acfaa9d307696449
HALO hide bugfix, smaller numberbatch still

Change-Id: I5a94e0a7c39a7369cae2b0cabdbe8696eb15dbc5
HALO new vertical gestures (NOT READY FOR RELEASE)

itroduces step gestures
-- Clear all notifications
-- Clear current notification
(*)
-- Hide HALO
-- Silence HALO until woken

Patch Set 2: Add updated mdpi/hdpi drawables

Change-Id: I4b5bb7ec612dc0eb1d95e970348b15fba1d79df0