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
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
Framework : Fix proximity wakeup reference

Change-Id: Ia40ca6fbf6e37fbb3996f2384f725c30b88c2131
core: Fix permission string

Should always start with lowercase

Change-Id: I5ab97b8a6ca67c4d2460f606f09b4bed8c299401
SystemUI: fix hidden clock style after a reboot

Selecting hidden clock style and rebooting the device results
in both center and default clocks appearing when you'd expect
to see none.

mClockView is null after a reboot so visibility gets never set.
Set default visibility for clocks to gone.

Change-Id: I533af8c28042a5989e0025df133c9ccf1fa3e066
Merge remote-tracking branch 'CM/cm-11.0' into cm-11.0

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/msim_status_bar.xml
	packages/SystemUI/res/layout/status_bar.xml
	services/java/com/android/server/power/PowerManagerService.java

Change-Id: Iab06ff46f57ef733c44694ffe7090f7af31aeabc