Fix SystemUI force close
Enable nav bar for devices with hardware keys

Change-Id: I2704e99571deff62523da8113971096f79d14fc9
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Signed-off-by: hany <hany.alsamman@gmail.com>
[1/2] Navigation bar width & height

Change-Id: I68d5b37e30733771a8db80329bf7a73c91b91d5b
Signed-off-by: kecinzer <kecinzer@gmail.com>
Signed-off-by: hany <hany.alsamman@gmail.com>
Navring changes for consistancy and cleanliness

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/AOKPSearchPanelView.java

Change-Id: I3c81ef52c14cfc9430d4a648d6b9b37dbd7c485a
Signed-off-by: hany <hany.alsamman@gmail.com>
Make Navring available to devices with no navbar

Swipe up from bottom of screen to access navring.

Change-Id: Ib29b37f26187a65faef17571328cef57f6896b29
Signed-off-by: hany <hany.alsamman@gmail.com>
Add option to enable/disable navring (1/2)

This will add an option to toggle navigation ring

If the navigation bar is disabled then a standalone
navigation ring is added.

Change-Id: I527c25b11bcb2c5f4b70799055f97bab65ed2cec
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Signed-off-by: hany <hany.alsamman@gmail.com>
SystemUI: fix custom back button image not restoring

Change-Id: Icf65d26b014918118251bd868c5af4f2ef823b35
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Fix Build
Fix STE "OK Google"

Thanks @C457 and @Meticulus

Change-Id: Id0ddff1cde4f94c408261cb66be6ca14604e76b9
Add support for multiple storage configurations

Currently AOSP only supports a single storage configuration that is hardcoded
in storage_list.xml. Some device updates are now merging data and internal
storage partitions, and as a result require the storage list to support two
different variations.

By utilizing the sys.storage_legacy property this will allow for the framework
to support multiple configurations which can be determined during boot.

Change-Id: Id795520425ea3e99a5234e10c978dcdbd68a1311
PEEK [1/2]
Sensors are fully disabled when screen is on. When you turn the screen off,
it will start polling both gyroscope and proximity sensor values. If it detects
using the gyroscope sensor that device is lying on a table, it disables proximity
polling. If it detects with proximity sensor that it is in your pocket, it disables
gyroscope polling. This way, we save some battery from the beginning. Later, when you
receive a notification, it enables a partial wakelock (CPU on but at low frequency),
and starts listening for movement, either from getting it out your pocket or lifting
off from the table. If it detects those events, it will turn on screen and show the notification.
Wakelock timeouts on 10 secs, so if you receive a notification and there is no movement in that time,
sensors will stop polling after that time, disabling peek interaction until a new notification comes.
Peek doesn't process low and min priority notifications.

https://plus.google.com/+ParanoidAndroidCorner/posts/3wppxakBSVR

Contributors:
@D4rKn3sSyS
@Anu6is
@BigBrother1984

Change-Id: I995d17fde5a256f23fe37f35e43a0ee7e52663fb
Signed-off-by: Jesus David <jesdga95@gmail.com>
Signed-off-by: Curtis Mayers <curtis.mayers@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: Ida92cb99dc703547c355fe520a25c53438ced1f4
yPEEK: Beautify bridging layers code

* Save new instances for Peek and PowerManager:
    Create it only in BaseStatusBar when start() method is called. That one
    will be passed throught the sub layers such like new helper class so another
    feature can check Peek state invocking from NotificationHelper class.
* Move phone listener to new helper class.
* Do not show Peek on sim pin lock screen.
* Process new incoming notifications only if screen is off, keep updating notification array separately.
* General cleanup.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I9efde073df35b92e42b9faa9930d2fc39b3a43b9

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Fix Aapt so that duplicate package ID errors are not incorrectly reported.

Aapt falsely reports package ID conflicts unless base packages are included
in strictly ascending order based on their package IDs. This fix addresses
that issue while still detecting and reporting conflicts correctly when they
actually exist.

Change-Id: Ic8059b87f919641d086df88d1556f5fa0063739f
Volumepanel: always show option icon

Change-Id: I702b1e47bd01adb06e72ade1ad2e02c17c4ae747
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/view/VolumePanel.java
Show package names during dexopt

ps2: Attempt to determine localized package label, and print that.
     If unavailable, print packageName

Change-Id: If9ca78fe312acd674bdcee160f914b4445d5c85f
AndroidRuntime: reduce logcat debug spam

this ought to prevent log messages similar to:
D/AndroidRuntime(12391):
D/AndroidRuntime(12391): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(12391): CheckJNI is OFF

Change-Id: Ie6948daf552d138c97ade941bedb8714f03145a3
fix incompatible type
Fix wallpapers not applying in full screen

Change-Id: I01f451d0b9a2236c2cdf0c7533e6f13ef03b7bf2
WallpaperCropper requires these permission.

Without these it just crashes lockscreen wallpaper.

Change-Id: I25c676244a919ed355e02664828ddd79dd327062
No need to hide flags in configChange

Change-Id: I36cda275f836d07e639419db8c856c7527307907