development: Add setting for overwriting recovery

Change-Id: I1ffa1735cd29bcdd5f7be419e4b46cf04a3f9973
Merge "development: Add setting for overwriting recovery" into kk4.4
Lets move David to the primary developer spot in about Gummy section...

Change-Id: I6132a8f417ff8587459322a23aa26a63345b797f
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
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

Conflicts:
	res/values/cm_strings.xml
p2p: Fix for GC unable to scan GO after tear down.

A start of the search is not done on a group removed
broadcast event for mLastGroupFormed being set, which
would result in the Group Client not able to find the
GO , though a p2p_find is issued before a disconnect.
This is due to the fact that supplicant shall notify
the p2p device info only once per p2p_find.

To avoid this remove the conditions that is blocking
the search to happen and issue another p2p_find.

Change-Id: I4abad5c472808f9aa03e644eb1c6a26bfab8a4e6
CRs-Fixed: 504022
(cherry picked from commit b5da1dfa773904f1d7d4aaff407d3830098a9206)
(cherry picked from commit 86f8e54ec3cdac6b9474d462cfafbc894223a433)
P2P: Updates the P2P peer list when there is P2P State Change Action

In the current implementation 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. 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
(cherry picked from commit 17edb35f25b01560a2fd8c159432a794c46765f0)
(cherry picked from commit f4a4708e50657c14412a9f370f023fd89cba8e6b)
P2PSetting:Avoid p2p_find on group removal event

Immediately after group termination p2p_find is being issued
from settings and this causing issue whenever user sends
connection request immediately after group_removal_event.

Change-Id: I6ae90a1d710e0e977a1dbc171398fd270dc30183
CRs-Fixed: 622597
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

Conflicts:
	res/values/cm_strings.xml
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
Settings: Use solid actionbar

When the action bar is visible, use the solid holo dark theme used
 by the rest of the Settings app

Change-Id: I41deeaa1988d59e121e6e81bcf3f42c570341f0b
data usage chart: move color values to resource file

This will allow themes to specify custom colors for
the data usage chart.

Change-Id: I17669348e8ac6dce63100604c1044f9de78056c2
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Remove untranslateable string

Change-Id: Ia08b26872b6a75f0141074b43a5f459c0eb672da
Merge branch 'kk4.4' of https://github.com/TEAM-Gummy/android_packages_apps_Settings into kk4.4

Conflicts:
	res/values/gummy_strings.xml