Lockscreen Targets : Make multi-user compatible

Use getStringForUser instead of getString since the framework always run as root user (0)

Change-Id: Ibe8b69cf4c4ad123ca8e68cd8fadcb7eb467b5be
Camera: add additional ISO modes (2/2)

Change-Id: I3460c3de4cbef467430673146a9ddb2fdc8f5032
PowerManagerService: Implement setButtonBrightnessOverrideFromWindowManager method

Differs from Android 4.1 (and earlier) implementation in that the
overridden button light still turns off after BUTTON_ON_DURATION instead of
staying on until screen off.  However, button lights are annoying, and
really the purpose of this is to allow apps (e.g., Screen Filter) to
_disable_ the button lights altogether.
QuickSettings: fix GPS graphic state logic

Current logic shows the gps_off icon once the requesting
app has terminated (inUse = false). expected graphic is
gps_on. To reproduce:
1. Start with the GPS off. Tile has gps_off graphic and
   off text.
2. Tap the tile, graphic turns to gps_on, text turns to on
   (this is the idle state where GPS is on and available,
   but does not acquire satellites).
3. Start Google-Maps, once GPS is locked, graphic changes
   to gps_locked.
4. Now stop Google-Maps. Graphic will change to gps_off
   though you would expect it to return to state (2) above.

Change-Id: Id044635016a848bb6bc02032b87e977ba0782f06
Option to show status bar in expanded desktop mode (2/2)

This commit allows the user to keep the status bar visible during expanded desktop mode.

Patch-set 1: clarify variable names.

Change-Id: Icb20971f8f86cb2ecf90f6226c1d5d18a60f5c84
Signed-off-by: Michael A. Alcorn <airalcorn2@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
Expanded Desktop Enhancement : add Statusbar switch (1/2)

Change-Id: Id7f6796da89c76f46555e7d89b34271e019c5e68
Try

Change-Id: I62811768deaf7c7537275a54f8ccf133d69d2976
PackageManager: Restrict system packages to protected storage

Don't allow packages signed with the platform key to be
installed into user (or app) controlled storage

Change-Id: I7390b3bdf5289411f7a335c69635bed9f74bbfb3
Framework: Port CM9 features to CM10
This commit includes:
 - Profiles

Change-Id: Ibd63116df90b06f6ce6adb8a0343059bbb999bfb

Conflicts:
	core/res/res/values/public.xml
	core/res/res/values/strings.xml
Framework: Add the ability to enable/disable use of Profiles

This will remove the Profiles item from the Power menu when the user has
selected to disable the use of System Profiles.

TODO: Better handling of returning a default profile when requested

Change-Id: I3c29b1bbd8f72c5432a1906a6b412d9412279c9f
migrate vibrator to silent mode settings (1/2)

Change profiles:
* remove deprecated vibrator settings
* add silent mode settings

Available modes:
* off
* vibrate
* silent

Patch Set 1:
Initial patch with plain ListPreference

Patch Set 2:
Use Checkbox + Dialog like ConnectionSettings

Patch Set 3:
Fix code style

Change-Id: Ic5ec3486070866b7358f843a0843ccd0753e8c72
Profiles: Airplanmode Settings with Checkbox (1/2)

Change Airplanemode Settings to look like Connection/SilentMode etc.

Change-Id: Ic340c4eac22b1c94dd5f7a94a9608e98c76a0e98
Fix airplane mode

Change-Id: I9259e6e90c7f67cf5fc31a8a3626917e41214379
Remove duplicate entry SYSTEM_PROFILES_ENABLED
fixes to make wifi priority work

Change-Id: Ia2832f8469808975ddd5d0f5104f9b9dc9ef6f9c
Wi-Fi: Ping the driver for wifi-only devices

Wifi-only devices are not capable to find APs with hidden SSID unless a DRIVER COUNTRY command
will send to wifi driver. This change has:

- Send DRIVER COUNTRY command to ping the driver (to correct the seek of hiddens SSIDs)
- Save mCountryCode as uppercase because the wifi_countrycode_values array is in uppercase.
  Otherwise the preference will not be found.

Patchset 7: Rebase
            Do not set mCountryCode if country is null

Change-Id: Ie0f838aef07eaf683b713f7f0e46ff3c751523ab
Add Power Menu Tile

Click once: Brings up Power Menu.

Long click: Will let you reboot your device.

Ported from:

Rascarlo's (https://github.com/rascarlo/platform_frameworks_base/commit/d9dbc4f6f9bb78683c21f8d28fb35c54cfe323b1)
CyanogenMod (http://review.cyanogenmod.org/#/c/30502/)

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

Change-Id: I89678a9c2b3085066251d0b756cf26d5269019af
Add Profile Tile

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

Change-Id: I27582f2ebc829ccc6b1ede4e44882d1aedbda878
QS: Fix Brightness, Favorite Contact & User tile FC in TabletUI
Fix Derp

Change-Id: Id070d3b2f7783757c999e221a207cf39d40e1971