base: lockscreen rotation fix

You must not check the value of ACCELEROMETER_ROTATION here
cause this will be 0 also in the case of using 'rotation locked'
from quick settings

Change-Id: If610e86d1df6be1a60aa996450344c07f8266e5f

Changes:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
Framework: Allow Power Notification Sounds For Wireless

Fixes an issue where wireless charging would play the
	power sound and the default wireless charging
	sound at the same time.

Change-Id: I36a20a3ba227d0682a8854935a53e30f132a9b7f
Frameworks: SlimRecents: Make expanded layout pretty

Instead of adding an extra box below the header expand it in the inner layout
so it is visual one card. Looks nicer, conform with google style and saves
a bit space

Change-Id: I6b406c622ac557a1ce6b81bfa86b4c96b492eceb
Frameworks: add 1dp more bottom padding

Change-Id: I8374994a67aadc7ea9b84cd22273c29b8b9ca88a
Frameworks: SlimRecents pass gesture detector to the cardslistview

see this commit https://gerrit.slimroms.net/6469

this fixes broken gesture detector

Change-Id: Ifd28e7e570808ade0494c7015c50c01c344d8741
Frameworks: navigation bar IME cursor

Old idea from AOKP revamped for kk 4.4

- permanent option (not configurable) due it is very usefull
- left arrow single press = cursor left; longpress = cursor one line up; longpress hold = faster several lines up
- right arrow same as left arrow but opposite directions
- accessibility events added
- transistion added

PS;
- add other flag handling
PS
- enable haptic feedback

rebase

Change-Id: If08904cb709b5969cac451515ec661adbcc1887c
Frameworks: SlimRecents: user configurable default expanded mode (1/2)

A lot requests to customize the default behaviour

auto = like it is now....dependend on the overlay the first tasks are expanded other collapsed
always = always all expanded
never = always all collapsed

Of course still user changes directly in the recent panel counts more then the default settings
behaviour

PS
- correct code comment to new behaviour
PS
- fix typo

rebase

Change-Id: I468be296de3c50d0036d2805c0d0cb8e54248e57
SysUI: Don't recreate controllers.

The various controllers, such as mLocationController, get recreated
every time the status bar is recreated due to TRDS.  We
should only need to create these if they are null, otherwise use
the controller as is.  Also, each of these controlers registers
themselves as a broadcast receiver and are never unregistered before
recreating them.

Change-Id: I6215aae5a82b7ced8f0f25cf592a804d38825260

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
lil darker
Lil change in scenery
Merge branch 'gzroms' of https://github.com/ValidusAOSP/frameworks_base into gzroms
[2/2] Frameworks: HALO COLOR

Add custom color.

Change-Id: I6b8a3e8b1057e466b947da63e5faf67560781837

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/halo/HaloProperties.java

Conflicts:
	core/java/android/provider/Settings.java
[2/2] Base: notification drawer: custom clock & calendar shortcut

OmniGears: https://gerrit.omnirom.org/#/c/4810/

PS9:
fix for multi-user

Change-Id: I941cdebde0b9d90c92f83df9e44f40bb4d4cce63

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix STE "OK Google
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
Revert "Base: Check ProcessesReady before broadcast"

This reverts commit 5fdef9b4995ff513fd2cb0092ec98bad17b8e775.

Change-Id: I5988f8f9d7c46697d8f88b322667c1f56b41e5a2
Revert "Insufficient ProcessRecord cleanup when persistent process is killed"

This reverts commit 72e5fb0277ebb6149b31acc354c88dab40ce977f.

Change-Id: I7f9c3024b429a9667d8639f0a8804e21e77612f7
Framework: Shake to Temporarily Secure && Fixes(1/2)

PS2: Reduce bloat, grab correct user
	Dependency
PS3: Rebase correctly
PS4: Tired of working these commits into eachother
	correctly, merge into this one commit.
	Fix simpin && face unlock
	Disable shake security if device admin
	requires screen security of any sort
PS5: Hack to fix double-inflation on boot
	registers a listener that stays alive
	until you shake
PS6: Better logic from introduction in PS5
        && make the initial feature enabled
        boolean check for security enabled
        before processing everything else
        without reason.
PS7: Fix potential issue with timer
        && shake staying registered.  Still
        retains accuracy of  without
        unnecessary processing due to
        PS6's security check.

Commit changes: Shake to temporarily secure
	Fix all lock-before-unlock issues
	Shake to temporarily secure timer

Lock-Before-Unlock issues fixed:
	On rotate, secure lock is shown without
		slider.
	On boot, secure lock is shown without
		slider
	Widgets aren't focused correctly if
		screen is turned on twice
		without unlocking
	Unlock target cut-off in landscape
	Smaller unlock ring size && mismatched
		bouncer size

Change-Id: Id6b0b85d2c7d086e1bd1199d7206b1e96b345328
SlimRecents: fix sometimes missing first task

apply the fix for aosp recents

https://github.com/SlimRoms/frameworks_base/commit/760413134a5efe60c1d4473322e467152d71c80b

as well to slimrecents

Change-Id: Ibce0707cf516034675451d0440608bafe097c92d
SystemUI: Custom Tile - add Global && Create Small API

Add forgotten Global table to Custom tile
Adjust Advanced Tile to directly change
	settings rather than sending an
	intent to the Chamber to loop and parse...
	and return to loop and parse again...
	Cleaner and more efficient

API:
Intent Broadcasted:
"com.android.systemui.CHAMBER_FIRED"
Extras:
"setting_key" > Setting being resolved
"setting_value" > Value resolved setting is currently
	set to.
"%" must be added as a flag per the usual usage of getting
	Extras to allow correct parsing.
	I.E. "%setting_key" and "%setting_value"

Intent can be caught by many profile management apps
	such as tasker and llama.  This allows the
	user to catch this intent and change profiles
	update settings, etc. Given that only advanced
	users are using this process anyway, it will
	only be called by those who might take interest
	in using it.

rebase

Change-Id: I275f616977acacb5aa802f89ea019e986bd82844

Conflicts:
	packages/SystemUI/src/com/android/systemui/shortcuts/ChamberOfSecrets.java