Settings: add TEME_SETTINGS intent and SHORTCUT category to
ThemeSettings intent

Change-Id: Ie5d8c401adc612502ff1db27fa4861a27d876a41
Signed-off-by: Roman Birg <roman@cyngn.com>
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 branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into HEAD

Conflicts:
	res/xml/device_info_settings.xml

Change-Id: I0a7dda42c63cd27eb21b5620e150019c654a1c23
Merge https://github.com/XPerience-NXT/android_packages_apps_Settings into HEAD