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
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
[1/2] Base: Configurable rotation

Configurable rotation modes -
- 0 (portrait)
- 90 (landscape)
- 180 (upside down)
- 270 (landscape)

Also move the option to enable/disable auto rotate to display settings from accessibility settings if device supports it.

Settings: https://gerrit.omnirom.org/#/c/4527/

PS9
unify defaults

Change-Id: I311b14754702831197c007e4dfe42d8523b970c6
Camera: add additional ISO modes

Change-Id: I3460c3de4cbef467430673146a9ddb2fdc8f5032