Add support for Hardware Rotation Lock Switch by using RotationSwitchObserver
from Pawit Pornkitprasan

Change-Id: I39ab497cff1925343bd00b7cb3e3263ce37ab066
[3/4] core: Add Dialer suggestions and reverse lookup

Change-Id: I01b27afb075e36d8d807d2fdbf5032ddb6e10641
Power menu: standarize capitalization for Screen record

Change "Screen Record" to "Screen record" to match the standard menu
styling.

Change-Id: I61c7adfe06c1d5ebc53c1c0b15b76e6d28a749f4
[1/2] Base: Add custom periods for data usage measurement

This commit adds week and day periods for data usage
measurement, instead of just months.

Change-Id: Ibd0067418435442d8cff922faf8ef0f6a5a28761
[1/2] base: Add ADB Paranoia mode

ADB Paranoia mode will reboot the device in the event of the following:

- The device is locked
- An ADB master device is connected
- ADB Paranoia mode is enabled in Development menu

Used in conjunction with device encryption, this should offer decent
protection against malicious adversaries with basic physical access to
your device. This will not help if your device has hardware level
exploits that can be used without rebooting the device, and without
connecting ADB.

Change-Id: I339d0bdf08ebe2d2c9096718d234ea7d396f3a98
Merge "Power menu: standarize capitalization for Screen record" into android-4.4
frameworks/base: Update DE translation

Update custom_strings.xml

PS5 Put together:
PS4 from Ralph Meyer
https://gerrit.omnirom.org/#/c/4638/ from Robert Kornmesser
https://gerrit.omnirom.org/#/c/5223/ from Andreas B

PS7:
Removed some nbetwork "translatable="false"" strings
Added navbar-strings
Applyed some comments from PS5

Change-Id: Ic145f02b52f1d8a39b30ba8b8f6fc87f561e4e87
Fix Photosphere/Camera FCs

Photosphere is setting a few parameters "blindly"
while the API says it should check the device capabilities first.

On TF101 (and probably other devices) the camera HAL doesn't handle
FLASH_MODE & SCENE_MODE and so it sends the required RuntimeException
for these, which makes Photosphere FC the Camera app.

=> Fix: check device capabilities & ignore these 2 parameters if the device doesn't support them.

Fix based on following Team EOS patch: https://review.teameos.org/#/c/1598/

PS3
remove dependencies

Change-Id: Idd80299802e9213a3c40414ace3d516d39f47783
Merge "Fix Photosphere/Camera FCs" into android-4.4
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac
Merge "[3/4] core: Add Dialer suggestions and reverse lookup" into android-4.4
[2/2] base: overflow menu tweaks

Combines two features:

1) for devices with a hw keys support force show the
3dot overflow menu in applications. This allows remapping
of the menu key to other actions and/or better support devices that
have hw keys but no menu key like m7.

2) for devices with soft-keys force hiding the 3dot overflow
menu by emulating existence of a hw menu button and only
showing a navbar soft menu key

PS5
set default of force overflow to 1 if this is a device
with hw keys but without menu key e.g. m7

PS6
checking config_deviceHardwareKeys is not enough

PS7
too stupid

Change-Id: Ic7a7e4bde440cee0e274e6ea871c952998a56dd7
[1/3] base: omniswitch as default recents

OmniSwitch provides broadcast events for showing
and hiding the overlay

We need to make sure that OmniSwitch service is really
running else we will get no recents at all. Also on startup
it will take some time until the OmnISwitch service
has been started.

OmniSwitch will send a service start and stop broadcast
that will guard the usage of OmnSwitch

Change-Id: I31c5ae8839603b6e92b1a4613c793a9427aad2e2
Merge "frameworks/base: Update DE translation" into android-4.4
frameworks/base: remove translatable=false

Change-Id: Ia46462a0fa2f30a299c59436b51d53cc7f0c8c15
Camera: add ISO mode support

Change-Id: Ied2075f950269990d836fc768b2c6c36088d494f
Merge "camera: Add support for sending raw commands" into android-4.4
Camera: Add support for QC camera features.

Added APIs and keys for all QC features. This
will enable application to get/set paramters.

Change-Id: I58a53c7b9133a3acddc34b268dac086c9562d533
Merge "[1/3] base: omniswitch as default recents" into android-4.4
Merge "[2/2] base: overflow menu tweaks" into android-4.4