Add config_restartRadioAfterProvisioning

Bug: 11673637
Change-Id: Ie758a303fd751d204fd6baa60217e88df6376aae

Conflicts:
	core/res/res/values/config.xml
Fix to NullPointerException when activity is relaunched

When ChooseTypeAndAccountActivity is relaunched and resumed
by ActivityManager a call is made to onActivityResult without
first triggering onResume. This leads to mAccounts object
still being null.

Fixed by properly setting mAccounts object if it is null prior
to use after function onCreate has been called.

Change-Id: Ife7e1e052c473970d923fa43ee6189eb62a1113b
Keyguard: Set WIDGET_CATEGORY_KEYGUARD when AppWidgetHostView is created

Allows the default lockscreen widget to inherit the keyguard widget
host category.  Without this, only widgets added through
KeyguardActivityLauncher are assigned the correct
OPTION_APPWIDGET_HOST_CATEGORY.

Change-Id: Ic97818d85ca5f00da0ce43bb36006d66a6935363
StorageManager: fix android.process.media process stop while plug a discontinuous partitioned SD Card

While get volume state, throw an IllegalArgumentException, catch
this exception in StorageManager and return null to MtpService to
avoid process stoping.

Change-Id: Iebb5c38e375d3f54505d9b9d64fcd0f02a2b60c1
Author: Li Gang <gang.g.li@intel.com>
Signed-off-by: Li Gang <gang.g.li@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 47459
Remove possible leak when exception occurred.

nameUtf8 is not released after exception.
In addtion, Fix code going down after ThrowException.

Change-Id: Id46e8ed55acd98e982ae532f7da2c0c48847f010
Dark UI: BeanStalk goes TRDS

All credits to SlimRoms!

Change-Id: I9089ee86587fb33706eb5a4dcc8f38427336b25e
Signed-off-by: Scott <scott@ubuntu>

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/UiModeManagerService.java

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/UiModeManagerService.java
base: Add a key combo to start/stop video recording

Press volume up and power to start recording a video of your screen.
Press this key combo again to stop it.

Change-Id: Id0b13ba1092a1d6e0bf7bff5f14d89764cdf370c
Signed-off-by: Scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/res/values/custom_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
base: added screenshot delete action in notifications

allows deleting a screenshot from the notification
inspired from CarbonRom - initial from CM I guess

Change-Id: I67b7b9a7808ddb8c54ea4f3a45aad6d44833e1df
Screenrecord: Create the Screenshots directory if it doesn't exist

Change-Id: I2b0458eed024dbda97e9e1ea3426c12d29add781
ExternalStorageProvider: Add support for root and external storage

Google decided to only show the emulated (fuse) internal storage in
ExternalStorageProvider. This provider is used to display storages
in DocumentsUI, the Kitkat file picker, that can be used by apps.

It would be a shame if you can't pick the pictures that are on your
external SDcard :)

Change-Id: I96a8d75ccc911f6f0e7f091c20aaefd510dc3327
QuickSettings: Harmonize the behavior of the Location tile

Inverts the long-click and click actions to be cohesive with
the other tiles.

Change-Id: I26d11bbdeca9ff31ef3c35127ed72ff3d6c09cbd
Merge "Add GlowPadView extensions needed for lockscreen targets and nav ring." into cm-11.0

Signed-off-by: Scott <scott@ubuntu>

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	core/java/com/android/internal/widget/multiwaveview/TargetDrawable.java

Change-Id: I9c800e793baecb98af18e16b82399670d7bba1ea