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
Try

Change-Id: I62811768deaf7c7537275a54f8ccf133d69d2976
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
Fix Derp

Change-Id: Id070d3b2f7783757c999e221a207cf39d40e1971
Frameworks:  Allow Custom Icon Tinting Option (1/2)

See ROMControl portion for comments.
Adding Zaph as a Reviewer.

Up to you now, team <3

Change-Id: I7b7085534ab2572807dc092cdb4b00e84ae97a02

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/NavigationBarView.java
Fix Profile.xml

Change-Id: I4f5a3f4e777472cb6c1e21e08f2a6f4060f8bb3c
PIE : LAST APP TOGGLE (1/2)

Change-Id: I44592746b734c8025bc4a3f5381444260e99c90f
Update Drawables assets from PA

Change-Id: I5aaf14d75d8b1a98f4344f1d861bbf3ebcf05f60