Revert "move custon java symbols to separate xml"

This reverts commit 1cb5697948caff8031d46d34c5f52fd7f9bd7e50.

Conflicts:
	core/res/res/values/ras_symbols.xml
	core/res/res/values/symbols.xml
Revert "power menu: reboot and screenshot"

This reverts commit 4f2410a7d93cca2782909b1fc27c8e775f60f5f6.

Conflicts:
	core/java/android/view/WindowManagerPolicy.java
	core/res/res/values/ras_arrays.xml
	core/res/res/values/ras_strings.xml
	core/res/res/values/symbols.xml
	services/java/com/android/server/power/ShutdownThread.java
	services/java/com/android/server/wm/WindowManagerService.java
Advanced PowerMenu

rebased by Ayysir <dresadd09691@gmail.com>
===

[*] screenshot and fastboot
<author> <drcmda>

[*]Remove safemode reboot option

Duplicated option, holding shutdown option is aosp way
<author> <D4rKn3sSyS>

[*]New reboot dialog

Nice icons and more options. Not hardcoded, used typedarray.
Credits to FNV for the original commit and safe mode drawable
<author> <D4rKn3sSyS>

[*]PowerMenu reboot

Based on Cm implmentation original author unknown
Change-Id: If478247694f2b4ae7ff4f02daeb0b4a655181751
<author> <aaronpoweruser>
Global actions cleanup

Also include spanish translations

Patchset 2: Fix build
Patchset 3: Add message to confirmation dialog
Patchset 4: More consistency with the system

Change-Id: I09bf56374a5ba9a875b94a53845be99a347417dc
Move PA to rast
services: Fix the bug in NFC shutdown logic

nfcOff should be checked for NFC shutdown instead of radioOff,
which is used for radio status.

Change-Id: Iafd620dc89ae8bed7855e313676527d4de32cb7c
Parallel shutdown

Decrease shutdown time by doing some shutdown tasks in parallel.

There are two threads executing during the shut down: the ShutdownThread
and a separate thread for the radio shutdown. However, the execution is
done in serial, as the ShutdownThread immediately joins on the radio
thread.

This commit will move the shutdown of the radio to the beginning of
shutdown and execute it in parallel to the shutdown of the rest of the
system.

The flow of the two threads during shutdown is now:

Radio Thread
  * Start shutdown of the radio
  * Wait for radio off or time out
  * Notify that the radio is done
ShutdownThread
  * Broadcast ACTION_SHUTDOWN as a parallel broadcast. (The receivers
    will get as much time to handle onReceive as it takes execute the
    rest of the tasks in the shut down flow. If they are not done in
    that time, we don't care.)
  * Shutdown ActivityManager
  * Shutdown MountService
  * Wait for MountService and radio to notify done
  * Vibrate
  * Low level shutdown

Change-Id: Ifdd8a9c75337fd9d00148a0d2b9917e10fa60634