Add Hot Reboot option to Power Menu
Update Torch assets for power menu

Change-Id: I37bb09f23e0f6c662fe829a4294f1c88f3ef315e
(4) Framework: Forward port Expanded desktop capability

Originally authored by Jesús David and ported from
        ParanoidAndroid ICS branch

Change-Id: I9f8491883cdd5bd78cf4754d322e00c7bc5b9ca5

Conflicts:

	core/res/res/values/public.xml

Conflicts:

	core/res/res/values/symbols.xml

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Define Safe Mode with long press Reboot Button

Change-Id: Ia8dde2b67c8700f569743acceb1793d63c84aaee
Add Power Off Switch to Power Menu (1/2)

Change-Id: I55d60fc90185bec30437489f11201d828d9c8415
Screenshot : Pass current user

Needed to complete the snapshot procedure

Change-Id: I36d52a367dbd3a45f85aa57347c4e4250c48989d
Fix Race in reboot dialog

Change-Id: Ideb19240eba9d9b6774f2dae234360d050c8703a
avoid crashing system serer process

Context#unregisterReceiver will throw IllegalArgumentException
if the receiver has already unregistered.

In GlobalAction class, when SilentModeAction is changed, it will
close the dialog with some delay. So there is a possibility
that it would unregistere again for the same receiver if a user
changes slient mode againand again. System must not crash in such
a case.

Change-Id: I33662feb48a770d39a8413901ec77ac1acd16bc7