Settings: Allow access for external apps to launch ThemeSettings Fragment directly

Change-Id: I93b676d3eb570c7064eeb4217c8e420a186c8e32
Settings: Remove screen rotation from accessibility

We have a more advanced option in display settings

Change-Id: I8be43e899a14d184374b422a381b0db839709fbf
Settings: Disable Battery status preference on ModLock.

Change-Id: I9c1b978cd3c50b6db73b333b9e392ee1918a9499
MSIM: Status & Subscriptions Status themes & navigation

Fixes navigation between screens via ActionBar (default behavior on
Settings activities) and switches old Holo theme to Kitkat default
for Status screen on MultiSim devices.

Change-Id: Ia643d645a29b067f4f149a4bec8d4e444a0750fc
Automatic translation import

Change-Id: I70a015f6aa3dc8130c15ad6bca345bb45b36bca1
Merge "MSIM: Status & Subscriptions Status themes & navigation" into cm-11.0
Merge "Settings: Allow access for external apps to launch ThemeSettings Fragment directly" into cm-11.0
Settings: add TEME_SETTINGS intent and SHORTCUT category to
ThemeSettings intent

Change-Id: Ie5d8c401adc612502ff1db27fa4861a27d876a41
Signed-off-by: Roman Birg <roman@cyngn.com>
Bluetooth: Acquire wakelock to turn on lcd during Connection

This patch acquires wakelock to turn on LCD display of DUT if screen
is off during connection access request for PBAP/MAP. Without this
patch it was observed that if screen was off, lcd remained off for
incoming connection access request from remote device and user only
was hearing notification sound without lcd being lit up.

Change-Id: I87c296fce4cd8e0c133f74169d991eee263fed08
CRs-Fixed: 650261
Bluetooth: Fix for device gets stuck in pairing

Fix for device gets stuck in pairing when trying to pair to two
devices one after the other or simultaneous. Now second pairing
is blocked when first pairing is ongoing.

Change-Id: Ib7e6788243a38b3a0dd864bee2b0797305468e27
CRs-fixed: 610056
Merge "Settings: Remove screen rotation from accessibility" into cm-11.0
settings: Move headset option, hide MoreDeviceSettings if empty

 * This option fits much better in the sound menu under "automation
   and effects", and on many devices it's the only option in the
   "More..." menu under Tap & Pay.
 * Move it, and remove the MoreDeviceSettings top-level category if
   there's nothing else in it.

Change-Id: Idd82f582a1ba54f8b45fbd4fbe631057e9515f86
Merge "Settings: add TEME_SETTINGS intent and SHORTCUT category to ThemeSettings intent" into cm-11.0
Settings: Move CM stats to privacy, organize.

Change-Id: Ibb7acc3584474bbc0e496d0983fa6f2b9d335162
Setting: Fix error when turn on wifi hotspot with long Chinese Ssid issue

The "error" is caused by beyond the limitation from driver layer
which wifi ssid characters can not exceed 32 bytes.

Add the codes to limit the characters of user input.

CRs-Fixed: 539994

Change-Id: I16adc3b08c86caf336b5272d27713134cb0d5211
Settings: Fix error when input WLAN Direct name with long Chinese name

Caused by beyond the limitation from driver layer which the
characters of WLAN Direct name can not exceed 32 bytes.

Add the codes to limit the characters of user input.

CRs-Fixed: 646426

Change-Id: I1ddf6d69940e0685c159e1b6329e0ee5fbbac222
P2P : Fix for P2P group name

When device is in Chinese language, P2P group SSID names will be encoded
into UTF-8 hex format. When displaying group SSID in UI Settings, this
UTF-8 should be converted back to UTF-8 binary format.
Implemented method to convert UTF-8 hex to UTF-8 binary format. When
group is created, it checks the hex format by looking '\x' sequence,
then converts to binary format.

Change-Id: I381b9e6c89ea4c82d41d2d4b69effe0d5e71d2e8
CRs-Fixed: 661989
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0