Framework: Don't needlessly create shared pref objects

Only one tile is using this.  Create it in that tile.

Change-Id: I67e5dff8f635da212da86a4048eac0da54fcc624
Revert "gps: fixed singleshot session that doesn't stop"

This reverts commit a0795c656dbf4f1cf96a179673dc739c93e17986.

* It was needed on msm8660 phones, but not anymore.

Change-Id: I92b0157e8dfa434ec840478ca15fd8daff273c5d
SystemUI: Fix crash during notification/theme change

Fixes crashing that could occur when a notification is created
during a theme change. Entries were attempting to be added
to views which did not have a layout pass yet, causing it to fail.

When a theme change occurs, the fix is to halt the ticker and command queue
until a layout occurs.

BUGDUMP-151925

Change-Id: Ic19d26178df673a1d52981a8617415e6fbcb219d
Disable ticker preference [1/2]

Ticker can be annoying when you're getting spammed by an angry girlfriend
and various other girls at the same time.  Lets disable it until the problem
just goes away :D

Change-Id: If886d92b1c54776ea66ac0a8865b1cf7a073502f
Tinted Nav/Status Bar (1/2)

Credit: Omnirom (Yanuar Harry) for the base
Credit: Erik Muller for adding and modifying tinted statusbar to work with
LiquidSmooth and adding Custom Color for statusbar icon support.

Change-Id: Ie3288c5b40543a763e11c9e488165aac101d61ab

Conflicts:
	core/java/android/app/Activity.java
	packages/SystemUI/src/com/android/systemui/BatteryMeterView.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/wm/WindowManagerService.java
DocumentsUI: fix white action context bar in TRDS tablet view

Change-Id: I3c580a2aa4f8abbcfd06ad974518343f6e9190c5
Base: fix some compiler warnings

Change-Id: Ifb609ca1091edd92cfb414dfc8c3c501d3e38a9d
Frameworks: clean up heads up text color code

Change-Id: I5998876f3abd3e928d6cf263b3b9dbebd7511182

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fb: translation - RU

I66f3c19cef5fad3ad55b2578aac08a3cf9bfe998

PS2: removed unnecessary plurals

Change-Id: I75323f41a502b433dd752a9dbf4dd0a230cb63dc
core: add support for Welsh

Change-Id: Ife5a32a96040c02d48c2f0f171f10151c767c5f2
Framework: Enable Speaker on Proximity (1/3)

restoring abandoned commit from:
    https://gerrit.slimroms.net/#/c/15838/

Change-Id: I7f59306814d67d36cfc27c2ce9a64c242bd6581d

Conflicts:
	core/java/android/provider/Settings.java
Rename Wi-Fi AP QS tile to "Wi-Fi hotspot"

Change-Id: Ia42449fd113d2068d3b4b8c7c8508cd3f45f2eff
Signed-off-by: RobbieL811 <RobbieLancaster811@gmail.com>
Framework: Speaker proximity only while in call (1/3)

Gives the option to only enable the speaker proximity
        feature during incall (speaker won't turn on
        while the phone is ringing, but will turn on
        after you remove the phone from your face, only
        after the receiving party has answered the call).

Change-Id: I3464f256c9b085b515f3614132eb76d3db04e41b
AppWidget: Make widget update quickly

Can't display the Power control widget after power on DUT for
3 mins. Because of the  update intent is received after power
on DUT for 3 mins.

Set the intent to foregound

CRs-Fixed: 707605

Change-Id: I5418c84a7dc79466be7a30bb3672ea41976badb0
DocumentsUI: Update launcher icon.. credit and thanks for the icon goes to Dave Kover (kovdev)

please check out his icon packs  https://play.google.com/store/search?q=kovdev
DocumentsUI: add xxxhdpi icon

Credit Dave Kover (kovdev)
Avoid SysUI force close due a miss check of ENABLE_HEADS_UP

Change-Id: I50c50ea55c800b5486f0f92263dcd3f03729312c
base: display live wallpaper settings instead of wallpaper picker

If the livewallpaper service declares and supports a settings activity, display it
instead of the wallparper picker in runnings apps details settings activity
(settings button)

Change-Id: I8db800cec4151ee5e6edddcea7a1bb5fb0528816
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Patch SysUI force close in Heads Up

Change-Id: Ifa58da1e85dfa96ecc23e203abcb964c7f41b092
explicitly close opened streams

Change-Id: I7584e822146e4ba9b88dbae77c635408f92c7591

Conflicts:
	core/java/com/android/internal/os/ZygoteInit.java