[1/2] Add battery level around unlock ring

PS2:
added missing change in KeyguardSelectorView.java

Change-Id: Ia4dbc2335657c096c34349ec67c4adfec0aeb91b

Conflicts:
	core/java/android/provider/Settings.java
[2/2] Framework/base: Lockscreen maximized widgets

Framework part of maximizing lockscreen widgets

Taken from cm and modified for kitkat

Change-Id: I6a354d218fa5cc4603b92ba479d6aeba7f8f9c60
Add support for Samsung extended AGPS

The AGPS implementation in the GPS chipset used in some Samsung devices
(i9100, i9300) can make use of the Psc field. Adapt the relevant
functions hiding the changes incompatible with other devices under the
AGPS_USE_PSC #define.

Credit to Qaweck from xda-developers forum for finding the meaning
of the field.

Change-Id: Ie4691c79ca379a1f5c0a87500c1b06b56ae7ac0d
GPS: Add QC GPS user to zygoteInit

Change-Id: Ide7af88e2c62375a36a581fadacb486c66fa194b
Grant qcom_oncrpc group to system_server

 * Needed for RPC-based QC GPS

Change-Id: Idebc5f6f8e7f8c136d931d7638338d3611895d8a

Conflicts:

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

Change-Id: Ifbbba2f7a8b4a80f41ad9fb5a86959f083dd21a2
gps: adding net_raw gid for IPC permission

for AFW to have permission to call loc api

Conflicts:

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

Change-Id: Ifc7451659431fa1c1998f5d75bfa5f2018a5d054
Merge branch 'kktest' of github.com:TEAM-Gummy/android_frameworks_base into kktest
LockScreen: allow long-press actions from hardware keys (1/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10

Gummy
- home key lockscreen unlock

Change-Id: Iff32736d00ca5d4122f64a6a861bbb0a1de9cca9

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/CarrierText.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardViewManager.java
Merge branch 'kktest' into kk4.4