Revert "BT: Multi HF support in Settings App."

This reverts commit 2cf4665d8c7930e22d6c865eca177a2c22fe3dbc.
Add new themes items to personalization menu

Bring in logic for the new chooser. If TMO chooser is installed it will get
first priority.

Change-Id: Ia8e852e5e5ad2465d0b9b73f16c7080a7337bb8a
Merge "Add new themes items to personalization menu" into kitkat
Call to equals() comparing different types

I have found this bug with the FindBugs tool

Change-Id: I7f157063b0a549cb4344c048ddb612a14a915a25
Signed-off-by: László Dávid <laszlo.david@gmail.com>
settings: Make mobile settings a first-class citizen

 * Nobody likes carriers, but let's not bury these settings behind
   10 layers of indirection. Many users (like me) who travel often
   will need to access these options frequently.
 * The top level switch disables mobile data.

Change-Id: I1bd4d1116a2c73832230d66c94df2c3c0aacf698
Import translations from crowdin.net

Change-Id: Ie80262128e326b0fc462f123aeb3cf205713df70
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Settings: read keyguard package name from overlays

Change-Id: Ief4750c91aa22c2033d31aacfea4cfbe245d61a8
Signed-off-by: Roman Birg <roman@cyngn.com>
Update MobileNetworks Icon

Match to QS tile icon

Change-Id: I416f0c9da40973532f79dc2ae7a46a274591a948
Fix the Mobile networks icon in Settings

-shrinked a little
-centered

See the screenshots:  https://drive.google.com/folderview?id=0BxY75MbFAKsXMzF3YXJZdUhVNm8&usp=sharing

Change-Id: Ia77dbf4417a3c4dd09adc11990406e97b482ae46
Data traffic details: use proper string for System UID

Android System ≠ Android OS (second is a "kernel" process).
Mind the numbers:
http://goo.gl/YnFvHa (actual "system" process)
http://goo.gl/XwoISO ("system" process displayed as "kernel")
http://goo.gl/sJ9yMi ("kernel" process with different traffic data)

Depends on http://review.cyanogenmod.org/63190

Change-Id: I6f6662b7adaee069ec5f29c6926b8fbce796917d
Display BTH connected status correctly

This patch removes incorrect condition.
(to not use LocalBluetoothProfile#isPreferred())
This condition uses the priority that already disconnected profile,
so this codition always returns false.

To verify this issue:
1. Turn on Bluetooth.
2. Pair and connect to BTH(A2DP/HFP)
3. The display now says "Connected"
3. Disconnect HFP profile
4. The display still says "Connected" but it should say "Connected (no phone)"

Change-Id: I9e2bfa6d23bf1be7587c9556b4b05459d02c4817
Settings: check if NfcAdapter is null

according to the javadoc, getDefaultAdapter(Context) can return null, if
no NFC adapter exists.

check if adapter is null before trying to call isEnabled

Change-Id: I7ff5488cc3b53ce9785c3e46effcf29dc31fe0ef
Add entry to change lock wallpaper via themes

Change-Id: I79e7160629bc43d1f1ca993833ea2fc538550475
Add Entrypoint for theme sounds

Change-Id: I6da2fa782b9b88fc669144eb50c3231d031cd620
Settings: move keyguard wallpaper to system (2/2)

Change-Id: Id3bb66aa78c2e3dbd1170e74e33fcd160e5a70bb
Signed-off-by: Roman Birg <roman@cyngn.com>
Add wallpaper pickers to seperate package [2/2]

Change-Id: I233b90aa52b5a8c408fa3adfe3bdad07330cc2ad
Themes: List ThemeSettings as a valid fragment

This fixes a force close in Settings in tablet mode.

Change-Id: I6542feba0d0fa8491ab9e092a90709d1034ffca8
Settings: preferences use keys, not ids

Change-Id: I23fad40f85235db1fd2c5724ba9d3580828b14d7
Settings: modify AOSP RU translation

Changed "data_usage_menu_metered" and "data_usage_metered_title" to
state it configures Mobile hotspots, not something like APNs.

Change-Id: I40db1da7d6f4a801de5a06c6a5790580da080ebd
Bluetooth: Release pan proxy object while coming out from tethering menu

A case where user is going into tethering menu & coming out repeatedly
(2000 iterations) irrespective of Bluetooth state(ON or OFF). Setting
application get crashed after 1386 iterations. Each time TetherSetting
& BluetoothPan object were leaked, because connection of the pan profile
proxy to the Service was not closed by tetherSetting while coming out
from tethering menu. Releasing the pan proxy object while coming out
from tethering menu to avoid memory/objects leak.

Change-Id: I06a5e1ed37a024695fddb1e95f62b72fd56510d3
CRs-Fixed: 622489