[1/2] Base: recover last location state during on/off switch

Based on this SlimRoms commit:
https://gerrit.slimroms.net/#/c/1421

Settings: https://gerrit.omnirom.org/#/c/4875/

Change-Id: Ia2484c9266d0276fd2d8bd0dc160487422e6063d

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/LocationController.java