Revert "Add global reboot option"

This reverts commit a29ade43fda1c4e2703033740b4f3cc2134ed534.
AppOps: add permission check when enabing nfc

Add appops permission check for enable function.

Change-Id: Ie98be3e7b3cd9e72b0ad12cc1634d9cd1869a66c
AppOps: Check user permission before audio recording.

Add permission check before audio recording.

Change-Id: I55c8397df3169e031bba951cf180fa8c5f4c4ce0
Conflicts:
media/java/android/media/AudioRecord.java
AppOpsService: Add MODE_ASK support to AppOps.

Add support for new mode(MODE_ASK) in AppOpsService to show a permission
dialog box to user to confirm user permission before allowing or ignoring
that operation.
All strict operations (defined in AppOpsManager) are going to be in
MODE_ASK by default.
Operations will be moved to MODE_ALLOWED or MODE_IGNORED according to
user's choice.
AppOps: Add support for AppOps policy file

Add support to read AppOps policy file.
AppOps policy file can be used to configure Ops default policy.

Change-Id: Idb4e3501ff9f58e491b06e74152342aa9574afbf
wifi: Confirm user permission before toggling wifi

Check user permissions before enabling/disabling wifi.
AppOps: Add Bluetooth enable control into AppOps

Check user permission before enabling bluetooth.
AppOps: Fix mms control in AppOps.

Add support to check user permission before sending MMS.
Also seperate out SMS operations from MMS operations.
AppOps: Add BOOT_COMPLETED operation

Add BOOT_COMPLETED operation in AppOps.

This operation is used to allow user to control auto start of
applications and services at bootup.
AppOps: Add nfc enable control into AppOps.

Check user permission before enabling nfc.
AppOps: change MODE_ASK to ALLOWED for receiving sms

SMS is received via broadcast. The operation checking doesn't
popup dialog to users because of broadcast ANR issue. So if the
mode is MODE_ASK and there is no popup dialog, then sms will be
ignored forever.

Meanwhile, receiving sms operation check is not the requirement
of appops. So one solution is to modify default mode for this
operation from MODE_ASK to ALLOWED and doesn't give user the
chance to modify it.

Change-Id: I2b6f90f13d3b2576bcbc6587ab2c6efa47c8dd52
AppOPs: add delete ops for some operations

Delete operation is required to be seprated from modify
operation. Add delete ops for sms, mms, contacts, and
call log.
AppOps: Add data connect control into AppOps

Check user permission before enabling/disabling mobile data.
AppOps: change "modify" to "write" in popup dialog

change "modify" to "write" in popup dialog as request.
PrivacyGuard : expand array for additional AppOps

Change-Id: I9f91a38a1813bc0c27074c4d6d9a325e57699a1b
AppCircleSideBar [1/2] + update to material design
App Circle Sidebar: Support for Configurable Trigger Region [1/2]
less is often more ;)
Revert "Squashed: Add options for reboot to recovery and reboot to bootloader"

This reverts commit 5eeba77eb4daeec844147123f923056d521902fc.
Frameworks: Add reboot menu - prepare for Slims Global menu - misc changes

Adding advanced reboot menu like it was on kk4.4
Adding advanced reboot secure option
Move reboot into safe mode from longpress power to longpress reboot
Enable for now per default Airplane mode and sound and reboot till we have imported our SlimActions class to make in configurable

misc changes and adaptions to lp