[3/4] JDK8: Fix ambigous call to MediaProjectionManagerService.dump

Change-Id: Iee3388dd79d8274b5be499b79689f132df3a36ce
[1/2] base: allow disabling volume adjust sound

Change-Id: I95893180865209d2aeaf4b3fa129a74df7523bbe
[1/2] base: Reboot Recovery & Reboot Bootloader in Power Menu

Coded fram scratch by me (yashade2001). It's not a port from CM11 or other KK ROMs.

Drawables by Alex Cruz

PS2:
-use same logic as in 4.4 when to enable advanced reboot
-compared to 4.4 dont implement in ShutdownThread but as a submenu of the global actions menu
-expose advanced reboot API from ShutdownThread
-add new GlobalAction filter for checking primary user and secure locksreens

PS6:
-new drawables

PS7:
-slient mode button sets no interruptions

Change-Id: I3e60ce93a541b0c9deb7ad53b27825acce91d251
[1/3] base: Add two new AppOps

- OP_OTHER_ACCOUNTS: Access other applications accounts from account database
- OP_READ_PHONE_INFO: Read phone information (IMSI, phone nr, ...)

This commit adds both Ops to AppOpsManager and the filtering to AccountManagerService

Change-Id: I4229f65f19c6e3c81b7f13534cf9d7e12aea2509
Dispatch keys to a device specific key handler

Injects a device key handler into the input path to handle additional
keys (as found on some docks with a hardware keyboard).

Configurable via overlay settings config_deviceKeyHandlerLib and
config_deviceKeyHandlerClass.

Change-Id: I6678c89c7530fdb1d4d516ba4f1d2c9e30ce79a4

DeviceKeyHandle: The device should consume only known keys

When the device receive the key, only should consume it if the device
know about the key. Otherwise, the key must be handle by the active app.
Also make mDeviceKeyHandler private (is not useful outside this class)

Change-Id: I4b9ea57b802e8c8c88c8b93a63d510f5952b0700
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

DeviceKeyHandler : Allow handling keyevents while screen off

Some devices require the keyevents to be processed while the screen
is off, this patchset addresses that by moving the filter up in the call
hierarchy.

Change-Id: If71beecc81aa5e453dcd08aba72b7bea5c210590
base: remove old offscreen gesture code

Now that we have DeviceKeyHandler

Change-Id: I9930f47d59a95a456563d9301c55927d1c2686ca
base: added flashlight toggle

send broadcast com.android.systemui.TOGGLE_FLASHLIGHT to
toggle the flashlight

Change-Id: I0601bbfb05b3b28b2bedde2602b26e3ec61c27e7