Revert "fb: small observer multiuser correction on notificationlight" (Might fix notification light issue)

This reverts commit 179e33204be32f817aa3a2e69617fb5b394da3b9.
Merge remote-tracking branch 'PA/kitkat' into remix-staging
Keyguard: allow keyguard to be dismissed via intent

Requires system permission "android.permission.CONTROL_KEYGUARD"

Change-Id: I9f8f5ca90a65b949d43fac33ce3e9e39ffdf9254
Signed-off-by: Roman Birg <roman@cyngn.com>
[1/2] Base: Battery Saver mode

Concept:
http://jira.omnirom.org/browse/CONCEPT-24

introduce battery saver mode
this based from what user want or what user do to saving the battery life
this include:
1. Automatically switch mobile network into what user choice and also disable mobile data IF wifi connected to an AP
2. Automatically switch mobile network and disable mobile data IF battery low (battery level can configure)
3. Reduce screen brightness based low battery (this feature will disabled if Auto brightness mode enabled)
4. Not changing network IF on Call or Usb tether enabled or WifiAP enabled
5. Not changing network IF there is Download/upload progress
6. Support For Both GSM and CDMA devices (need someone to test for CDMA devices)
7. every condition has an option :D
8. Restore all network configuration if battery saver mode disabled
9. Add Time Range to start battery saver mode
10. allow device without mobile data support, to using this feature
11. fix inconsistent battery low level
12. rewrite to better performance
13. modified the controller to support battery saver mode
14. add bluetooth, gps, wifi, and mobile data (if support) to be disabled while power saving activated
15. fix build QuickSettings because of LocationController change
16. rewrite to better performance
17. fix brightness value
18. rewrite (again) to allow add more saving mode
19. do delay changing only for POWER SAVING not NORMAL mode
20. add Cpu power saving mode
21. fix Cpu freq value
22. fix call saving state for non user configuration mode
23. fix NPE
24. add kill all task
25. add disable sync
26. add disable vibrate
27. add disable led
28. add notification :)
29. finally fix sync interval :D

preview:
http://jira.omnirom.org/secure/attachment/10394/Screenshot_2014-03-07-19-54-57.png
http://jira.omnirom.org/secure/attachment/10395/Screenshot_2014-03-07-19-55-56.png
http://jira.omnirom.org/secure/attachment/10396/Screenshot_2014-03-07-19-56-06.png
http://jira.omnirom.org/secure/attachment/10397/Screenshot_2014-03-07-19-56-14.png
http://jira.omnirom.org/secure/attachment/10398/Screenshot_2014-03-07-19-56-27.png
http://jira.omnirom.org/secure/attachment/10399/Screenshot_2014-03-07-19-56-34.png

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

Change-Id: I9d86ef1425228e11cadd85d37c5b6e8b20e50fb0

Conflicts:
	core/java/android/content/Intent.java
	core/java/com/android/internal/util/omni/TaskUtils.java
	packages/SystemUI/res/values/pac_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/BluetoothController.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java
	telephony/java/android/telephony/TelephonyManager.java
	telephony/java/com/android/internal/telephony/ITelephony.aidl
Merge remote-tracking branch 'PA/kitkat' into remix-staging
Revert "[3/4] core: Add Dialer suggestions and reverse lookup"

This reverts commit fecb4c66af0e8648d36cb57cd0b82348539b0158.
Revert "Goodbye LockClock, Hello DashClock (3/3)"

This reverts commit b476fd5946679af18bbc6e267af8239115e2580d.
Revert "[1/2] Base: Battery Saver mode"

This reverts commit 293c6045d632ddc048b93f8a0145f66d346802bb.
Revert "Re-add auto brightness configuration UI (1/2)"

This reverts commit 1117ec855a425050f5478d5d434ff82109098c74.

Conflicts:
	services/java/com/android/server/power/DisplayPowerController.java
	services/java/com/android/server/power/PowerManagerService.java
Re-add auto brightness configuration UI (1/2)

- Add a button into the new brightness dialog that allows opening the
  auto brightness setup
- Enable auto-brightness adjustment (setting for general brighter/darker
  adjustment) and twilight adjustment

Change-Id: I7fd11ddaa112396dcb7508692aacb93bfe3da256
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
Merge remote-tracking branch 'PA/kitkat' into remix-staging

Conflicts:
	core/res/res/values-mcc214-mnc18/config.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/SystemUI/res/anim/reminder_fade_in.xml
	packages/SystemUI/res/layout/reminder_entry.xml
Revert "Separate Change Encryption Password Entry (2 of 2)"

This reverts commit 1fa321e08b8a1c315c83d0cea4ed786da49fb0f6.
Merge remote-tracking branch 'base/remix-staging' into legacy-staging

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values-et-rEE/donottranslate-maps.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/SystemUI/res/anim/reminder_fade_in.xml
	packages/WallpaperCropper/res/values/pa_strings.xml
	services/java/com/android/server/power/PowerManagerService.java