Allow multiple emulated storages at the same time.

Only do multiuser mapping for primary emulated storage as per google docs.
Allow all non-primary emulated storage to have id other than 0 so that
it could be distinguished from the primary volume.

Change-Id: I7b70b9067fd6211055fb9074710f48107d7b0e8e
update SystemUI's proguard.flags

Change-Id: I5aa73eddd3fea6cddeddaf94e202d8de870e7df5
Clean up unnecessary backslashes

* Last line in a PRODUCT_COPY_FILES block shouldn't end with backslash

Change-Id: I57b4914048a2a17ff98057844941898b682dbcd5
Ignore null stylus gesture settings

If the user performs a stylus gesture that has not been configured in
the settings at all, the gesture filter would incorrectly interpret the
setting's null value as an app launch action.

Change-Id: If7f600a688bb7b5e0a9a2e912c3d6183a9c9a69e
HALO: halo can save last position now

Change-Id: I5a608b02323ab9fdfa3922a3c9844e75c3a1ab09

fix

Change-Id: I00ced429cfcc90507b8cc14b228a74b8902e67e8
Revert "update SystemUI's proguard.flags"
apparently this breaks shit

This reverts commit 6dda0d108d7737431201b98977b74cff91ab539c.
Revert "Allow multiple emulated storages at the same time."
This also breaks shit.

This reverts commit 6ef16efbab571c95038f1a1bf4eae828a5dcbeed.
Frameworks: privacy guard fix UI freeze

randomly sometimes the complete UI freezes when toggle
privacy guard. Move out the forcekill from syncronized to
fix it so that it kills the app when all threads are open
and they can react to the forcekill which cannot result then in unknown states

cheers

Change-Id: I81514dc5ca9149477ee747a7d90720b83f741baa
Don't enable GPS if the requesting app is blacklisted.

This is transparent to the app, it just sees no location callbacks as
before. It just avoids the additional unneeded battery drain.

Change-Id: Iff98bcc3a4ff724aea8763e08b687441bda9ede0
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
FW: PNG Optimization's

Optimized All PNG's To = optipng -nc -nb -o7.

Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/res/res/drawable-hdpi/ic_lock_statusbar_toggle.png
	core/res/res/drawable-hdpi/ic_toggle_navbar.png
	core/res/res/drawable-ldpi/ic_stat_turn_wifi_off.png
	core/res/res/drawable-mdpi/ic_lock_expanded_desktop.png
	core/res/res/drawable-mdpi/ic_lock_statusbar_toggle.png
	core/res/res/drawable-mdpi/ic_lockscreen_camera_activated.png
	core/res/res/drawable-mdpi/ic_lockscreen_camera_normal.png
	core/res/res/drawable-mdpi/ic_lockscreen_handle_normal.png
	core/res/res/drawable-mdpi/ic_lockscreen_handle_pressed.png
	core/res/res/drawable-mdpi/ic_lockscreen_soundon_normal.png
	core/res/res/drawable-mdpi/ic_stat_turn_wifi_off.png
	core/res/res/drawable-mdpi/ic_toggle_navbar.png
	core/res/res/drawable-nodpi/platlogo.png
	core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_normal.png
	core/res/res/drawable-sw600dp-hdpi/ic_lockscreen_handle_pressed.png
	core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_normal.png
	core/res/res/drawable-sw600dp-mdpi/ic_lockscreen_handle_pressed.png
	core/res/res/drawable-sw600dp-xhdpi/ic_lock_expanded_desktop.png
	core/res/res/drawable-sw600dp-xhdpi/ic_lock_statusbar_toggle.png
	core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_normal.png
	core/res/res/drawable-sw600dp-xhdpi/ic_lockscreen_handle_pressed.png
	core/res/res/drawable-xhdpi/ic_lock_statusbar_toggle.png
	core/res/res/drawable-xhdpi/ic_toggle_navbar.png

Change-Id: Ic5733acbf19bb52055b36c9e2575f04925ece94c
Recents RAM circle [1/2]

Adds an option to use a circular RAM meter surrounding the clear recents button.

Credit goes to @0xD34D from ChameleonOS.

Signed-off-by: Andros Rosa <andros2011@gmail.com>
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I3b7cdee13ea0c475e4f39959fd005b285ddfeb63
HALO: keep apps in recents

Change-Id: I9ede8a1aba8d6721f077a39a31b6cc5cd8272dc2
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	services/java/com/android/server/am/ActivityRecord.java

Conflicts:
	services/java/com/android/server/am/ActivityRecord.java
Final fix for recent apps orientation

Besides the known showImpl (called every single time when recent apps is shown or hidden), Override onSizeChanged method for setting recent hints on orientation changes, and restore hints in onUiHidden method. The perfect match

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsActivity.java
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: Ieb9ccd076223d08df6e41ac62641f302d6708595
Revert "FW: PNG Optimization's"

This reverts commit 46471dbb04f2d6570562bdee46e686d732ca8d32.
Add permission that allows cancelling notifications from other apps.

Change-Id: I055b17873e174f71174898a7649b1e221fd8c436
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/res/AndroidManifest.xml
	core/res/res/values/cm_strings.xml
Fix misspelling of getltesignalstrength
Signed-off-by: scotthartbti <scott@ubuntu.com>

Change-Id: I6c12a53530f50db38e0acdb93d28d6b1644c1d8d