Revert "[ActivityManager]: Update home process when home activity resumed"

This reverts commit 15061af8b33a2e9e6e47371bebe9d966245728ff.
Revert "[ActivityManager] Do not finish root activity when reset task"

This reverts commit 52392d1cdcb5d851746a315019e1fcdb1bf6b68d.
Revert "[ActivityManager] Move top task to top in window manager"

This reverts commit 302485a740e5f997008162f7c7f9076ab6ecd3fb.
Revert "Add an internal API to get all asset locales."

This reverts commit 574c0db598a987e49becf5ac58ed06300d5a05be.
Revert "Optimize Blend composites."

This reverts commit 5ef3fb7a3bf9fe65671639cfd868278748f9b258.
Revert "Add BlendComposite.java"

This reverts commit 3134b848c0648e93283696bac333647c122017b7.
Revert "[HWUI]: fix residual line on FrameBuffer"

This reverts commit bffab9f6fc71b2d5909470467f73997eab6bb4b5.
Revert "[AssetAtlas]: Fix AssetAtlas not consider all size of texture."

This reverts commit d77a9d6a04e9cb76187748168db26df035661033.
SystemUI: Fix too long SK bluetooth string

Change-Id: Ib5202b27621e1668e1d4ab4ab09700d4698fcb05
Themes: Make notification list bg themeable

Thanks Thomas Ekelschot :)

Screen of themed resource https://imgur.com/c8t1Zn0

PS2: Add Clark's proposed changes
PS3: Cleanup old color resource in main xml
PS4: Add informative screen

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8eb4427747c3eb035b416860c3ca47122e45c16f
QuickSettings : Register/unregister cast tile one time

Don't do these operations every time the parent is visible/invisible,
it causes jank.

Repro:

Turn on wifi on a network w/ chromecast
Swipe down quick settings panel really fast

Change-Id: I3dfcd3610abe96e1bfdab06ef3b876ccf5140ceb
QuickSettings : Properly restore lockscreen tile state

The keyguard lock relies on device policy manager service to be active,
currently it fails because it tries to request before its up. Fix that
by registering the request in a receiver

Change-Id: I15e0d980ecf21c8316f4a771e93f4b520c556115

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/ToggleLockscreenTile.java
NavTargets : Show highlight for google search

- Show highlight for google now icon
- Update launching logic to upstream
- Don't hideTargets in doFinish

Change-Id: I6027bc30b4bc98bf1dbadd9cb02e46349745bfbb
Add system setting for t9 search input locale

Change-Id: I780b3cca1ad2da396b76464a6dab5cc53f621ed2
IconPackHelper: Don't respect an icons original size if too large.

  - Otherwise, if an application isn't following app icon guidelines,
  it can create an OOM situation when creating the new icon based
  on the original resource's height and width.

Change-Id: I9430445da5e393cdbf76ed9ebd9698bf30df6a95
Automatic translation import

Change-Id: I5927a950623fb5ceea027632657880a591cf67af
ProximityWake : Add support for checking proximity when waking device

Change-Id: Ia5ff446d88435773acccc7467e66009000dc20cb

Conflicts:
	core/java/android/os/IPowerManager.aidl
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/PowerManagerService.java
Framework : Fix proximity wakeup reference

Change-Id: Ia40ca6fbf6e37fbb3996f2384f725c30b88c2131
core: Fix permission string

Should always start with lowercase

Change-Id: I5ab97b8a6ca67c4d2460f606f09b4bed8c299401