Camera button support: fix another ^C^V fail

Yes, that was merged way too fast...

Change-Id: I88243887446876de39e79020e6d8fecc6351bdde
Performance profiles

This changes adds support for custom performance profiles through overlays. Supported
devices should define config_perf_profile_prop with the proper system property to be set
and fill an init.rc file with the appropiate handlers for every defined performance profile.

Patchset 2: Rebased
            New simplified strings
Patchset 3: Fix build
Patchset 4: Rebased

Change-Id: I5a6612db94da3c09d8ec2e8920bf9516f62d0024
Settings: Minor values cleanup

Change-Id: If26d98b947b36bea19715f644e3e6308c0581121
Settings: HU translation

PS2: Remove cm_arrays modification
PS3: Triggering Cid

Change-Id: Ie76f61a168e20a1082976d2a71197db404e779b4
Cleanup performance settings strings

Patchset 3: Remove aapt warnings

Change-Id: I2b7d7d3179d8265c59bca6ae7079410eb9fb79fd
Settings: zh-rTW translations

PS2: fix some translations thanks to Li Chi Tung
PS3: fix incorrectly formatted commit message
PS4: fix some translations thanks to Li Chi Tung again
PS5: fix few translations thanks to Li Chi Tung
PS6: trigger Cid
PS7: trigger Cid
PS8: fix date in license and trailing space
PS9: trigger Cid
PS10: small fixes
PS11: rebase
PS12: rebase and have small fixes
PS13: rebase and fix some translations thanks to Fu-Chun Hsu
PS14: rebase and fix some translations thanks to Fu-Chun Hsu

Change-Id: I24cbb0f39d5a86708f6058a091511332754ed7f0
Settings: Update German translation

Change-Id: I4f1a1a9897489fb69455a70217c9d49ae942952e
Settings: Fix aapt zh-rTW warning

Change-Id: I5670efae7408f2046ea9df3b30b94106c116ce3f
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Minor grammar nit-picking

Change-Id: I5b0a1921a343d9615e36b2524d90da5295dd2b3f
Settings: ES translations

Change-Id: I705aace6c9e91de1158a065397ef5eede12c2475
Settings: Allow different maximum vales for each gamma control

Change-Id: If79a0d988d09ec15e05bc08b5cac7015d793dabc
Settings: Add string for gamma saturation

Change-Id: Ie220596712aa90b70cdd98a50448dad9e7ce6e32
Settings: EL translations

Change-Id: I0689f0b11d7e7b90f0bac876d66292d0529ac905
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Fix crash if HW tuning framework isn't present.

Change-Id: I0128d57a5a46e87fe414a2682847ff877d8b1428
Bluetooth: Remove out of range devices after ScanComplete

Change to remove device from UI when Bluetooth of remote
device is off or not discoverable anymore. Without this
change a device that discovered previously is available
in available devices list always, though the remote device
is not discoverable anymore. The current change updates
available devices list on scan complete removing the
devices that are available in cached devices and are not
disvorable anymore.

This reverts commit 1b652eb600ad7b4a769ad495bbb7eb4c6ab82fb2.

CRs-Fixed: 523374
Change-Id: Ia250d52e6fb7a69af242c961d33027f1e724ab25
Bluetooth: Security: Add Null check during pairing cancel intent.

Added null check, so before posing event we can restrict events,
if cached device list is empty

Change-Id: I458d181abe5eec2497b80b1713ddbc3502b79786
CRs-Fixed: 546364
WifiSettings: Handle DISABLED_ASSOCIATION_REJECT.

Upon receiving multiple association rejects for a network,
framework disables corresponding network providing reason
code as DISABLE_ASSOCIATION_REJECT. this is handled
in order to provide appropriate user experience.
CRs-fixed: 484247

Change-Id: I3d344068a58d2dfd82c9bc8b23f43fdf980cc4d9
Bluetooth: SAP: Add SAP profile support in Settings APP

This change consists of:,
 16 digit Authentication
 SAP profile connection status changes
 SAP Disconnect from server related changes

Change-Id: I57870a75c30e03b3c244d56e9b55a1367490bfc9
Updates the P2P peer list when there is P2P State Change Action

In the current implementation of JBMR2 the P2P window gets
updated with the Peers list only when there is
WIFI_P2P_PEERS_CHANGED_ACTION Intent.
Thus the P2P status remains unchanged when there is
WIFI_P2P_STATE_CHANGED_ACTION intent.
Here the changes are imported from JBMR1. When there is back and forth
navigation to P2P window, WIFI_P2P_STATE_CHANGED_ACTION intent invokes
the onPeersAvaliable function asynchronously and updates the P2P status
and peers list.

CRs-fixed: 512821
Change-Id: I69b26ef72bf30f547bf8fb5580d440c5119df054
Packages: Fix for SAP turn ON/OFF fails issue.

Turnig ON/OFF SAP repeatedly when WIFI is ON results
in command CMD_SET_AP being received in WifiStaEnabledState
of the state machine, which will not be handled and because
of this SoftAP is not turned ON and we receive no events
thus the check box remains greyed out/disabled.

To resolve this wait for WIFI_STATE_CHANGED intent before
re-enabling the SAP.

Change-Id: I1a37ac6406ea5e342d6dcb80654c2728fa447e57
CRs-Fixed: 525872