SystemUI: Update WiFi & Signal icons
Include android.permission.ACCESS_SUPERUSER permission in the base API

Since we don't include this version of the su binary we need to
register this permission other wise if user installs Koush's Superuser
apk later all apps previously installed will not be granted
superuser permission as it, the permission, did not exist when apk
previously asked for permissions

This is a hack to avoid Android Issue 25906
 (https://code.google.com/p/android/issues/detail?id=25906)

Change-Id: I4bc044fa8808d7e11e8cc004f680a99d11d9b66d
Notification shortcuts spacing and tablet transition fix

Change-Id: Ifcf888673b6ab80b43d427cf2a03b0beb7f56689
SystemUI: Avoid "phantom" status bar collapsing

There is one specific case where the status bar may collapse
for no aparent reason: When the last notification is removed.

If Quick Settings panel is showing while such a notification
is removed, the status bar WILL collapse -- and the user may
be left wondering why, because the notification that was just
removed isn't visible in that case.

A way to reproduce this behaviour follows:
  1) Settings -> System -> Quick Settings Panel -> uncheck
     "Auto close panel"
  2) Dismiss all notifications, even the sticky ones.
  3) Open the Quick Settings Panel and tap the apropriate
     tile to light the Torch
  4) Tap the tile again, to extinguish the Torch.

As you can see, the Quick Settings Panel collapses. This
happens because Torch puts up a notification, when lit and
removes it, just after it's turned off.

This will happen to whatever notification that hides itself,
e.g. a GMail notification, which vanishes when you read the
e-mail on another device. This too will trigger this issue.

-----

This patch prevents the bar from collapsing, as consequence
of removing the last notification, when Quick Settings is
showing.

Change-Id: I8c7c015c836810a465268b25b90c9166c4485a9f
derp can't have webaddress here

Change-Id: I6a158757f08445f51a893c513724e1332dc3434d
Toggles: fix silent off label

Change-Id: Id811af6599ca8466ba3af0dd555a4856863ef7fb
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
frameworks: Smooth background gradient

Credit to UBER for the images

Change-Id: I3655e9917610348100fa6cb5cede66a63ca82538
FW: Updated czech translation

Change-Id: I0e1f765f493fcc0cbae52ba0f9b60343954ddc2f
Signed-off-by: kecinzer <kecinzer@gmail.com>
PIE: clear all button

Change-Id: I6333521999d846a417a0f8a3bba62a72aa876dbd
PIE: header with time and date (+///) for both panels

Change-Id: I400a88ff40b075bd1054ac123efca2b4a087fa73
PIE: /// is ready for prime time

Change-Id: Ib494c229fc65c99daadf598e3e29003950d55e72
PIE: one finger swipe-up for notifications

Change-Id: Ie23bd852fc41827f0067202685e7a97c595c3ac8
Pie Toggle (2/2)

This will allow the user to toggle Pie on/off from Quick Settings
without having to go through RootBox Settings.
FW: Navring Rework.

PS2: Moves drawables and static strings to Frameworks, Removes
     some redundant code from RC.

PS3: Needs awesome action update for now if we dont add it ill
     rebase.

PS4: Rebase and clean up, plus I added the option to turn "off" the
      navring by setting all targets to null or none.

PS5: added logic for custom icons

PS6: forgot to add Icons to the settings observer
     adjust some long press logic

PS7: Comment message clean up

PS8: Rebase of the new awesome action

PS9: cleanup

PS10: Rebase

Change-Id: Iff157e4e49407f46284f52697befe6cc3d5a42d7
SystemUI: avoid NPE when no toggles are set

Change-Id: Idc3fe5b43f545fed51f33b06fb5888fb5e226b7a
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: set correct initial NFC toggle state

Change-Id: I451f53bb2ae533823c214a66d83ce6a92ceb5025
Signed-off-by: Roman Birg <romanbirg@gmail.com>
core/jni/android/graphics: Cache copy of pre-scaled Bitmaps

Caching some pre-scaled Bitmap objects allows for optimizing later
scaling operations to reduce memory pressure.

CRs-fixed: 451681

Change-Id: Id4341e75911074ff9f565b2d386ccad8f3a223e8
Merge branch 'jb-mr1' of git://github.com/Root-Box/frameworks_base into rb-jb-mr1

Conflicts:
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_0.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_0_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_1.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_1_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_2.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_2_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_3.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_3_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_4.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_signal_4_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_0.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_1.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_1_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_2.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_2_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_3.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_3_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_4.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_4_fully.png
	packages/SystemUI/res/drawable-hdpi/stat_sys_wifi_signal_null.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_0_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_1.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_1_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_2.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_2_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_3.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_3_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_4.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_4_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_signal_null.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_0.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_1.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_1_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_2.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_2_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_3.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_3_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_4.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_4_fully.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_wifi_signal_null.png

Change-Id: Ic0cc55bc436137d0d64b7e7bb79aa5921d000ce9