SystemUI: Remove the dark pixel artifacts from the back arrow drawable

The arrow had some mostly transparent pixels that made it look
kind of like the device had defective pixels. Found by Cyril Mottier.

Change-Id: Ia78453868ebe7e3291d01c96b9beafc78ea3cdcc

Conflicts:
	packages/SystemUI/res/drawable-hdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-xhdpi/ic_sysbar_back.png
Fix unexpected rotation change when re-enabling auto-rotate

getProposedRotation() method returns old value when re-enabling
auto-rotate option. So you can see unexpected rotation change
with the following steps.

settings -> display -> enable auto-rotate
-> rotate device to landscape -> disable auto-rotate
-> rotate device to portrait -> enable auto-rotate

This patch makes mSensorEventListener reset before it is registered again.

Bug: 7964531

Change-Id: I6a8d287bbd9809ef31de67c54efb885e9a4fd76f
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
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
Function uri.getAuthority is called twice. Minor doc corrections.

Function uri.getAuthority was called twice in methods acquireProvider
and acquireExistingProvider was called twice although a parameter
representing the value had existed. The second call to the function is
changed to the parameter. The parameter's modifier changed to final.
Minor corrections in function descriptions in the file.

Signed-off-by: Yury Zhauniarovich <y.zhalnerovich@gmail.com>
Change-Id: Id003aa38c17d644357873c41a8f5ec455e46a4b7
libandroidfw: fix compilation warnings

Handle the following compilation warnings:

- cast to pointer from integer of different size [-Wint-to-pointer-cast]

- format '%d' expects argument of type 'int', but argument 4 has type
  'ssize_t {aka long int}' [-Wformat]

- format '%d' expects argument of type 'int', but argument 4 has type
  'long int' [-Wformat]

libandroidfw now compiles without warnings.

Change-Id: I22bf00a586df5468285017b06862f0e55ae7fd1b
Patchset update.

Update for https://android-review.googlesource.com/48444.
Services: Adding HSPAP info in Android

HSPA+ management is missing in GPS Loc service.

Change-Id: I7134f1b465d3d8be5c75d08c4b8090df816d7099
Author: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Arun Ravindran <arun.ravindran@intel.com>
Signed-off-by: Regnier, PhilippeX <philippex.regnier@intel.com>
Signed-off-by: Fabien Peix <fabien.peix@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 41786
Framework: NavBarColor (1/2)

Change-Id: I7ed579d95d921e08d8f9d0a9160605457b8c4cb3