Configurable LTE icon into 4G instead

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/strings.xml

Change-Id: I456f8d38acf3273a7ca70aa07d7c3155dcd1af53
WFD:add auto scan after enabling WFD

After enable WFD, it should trigger one time scan automatically.

Change-Id: Ie0be8387f6c3726673a31538c158787fcbe13243
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
Prevent user from switching airplane mode quickly, sometimes it will cause UI fly mode status doesn't sync with modem

Change-Id: I93868bff7dd7d7c0c7c1889084d6c98ba588c747
Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
Fix "Add Network" show last selected WiFi AP Dialog

When user taps Wi-Fi add network button, the pop-up dialog is not empty (it shows last selected WiFi AP Dialog).
The above is observed after the following steps:
- Launch Settings application
- Turn on Wi-Fi
- Select any Wi-Fi Access Point which is not connected previously and change to portrait mode
- Press Cancel from the pop-up and select Add Network icon in menu

Because the "Rotation" operation will cause WifiDialog re-creating and the current settings
of selected Wi-Fi Access Point is saved before WifiDialog destroyed.
Then, the saved Wi-Fi Access Point is displayed when user tap on "Add Network".

It need to clear the saved Wi-Fi Access Point when WifiDialog re-creating.

Change-Id: I3e93943e5bee405329e309c3ec88a35ee9cafc43
Fix WifiManager melory leak, change context to getApplicationContext

Change-Id: Iba90045c4e31537defeec7a6f965d3b764065864
Signed-off-by: annieyu <annieyu@huaqin.com>
Lockscreen targets: more unification

Use shared method to derive drawable inset and make the rounded
corners for icon files also display when adding the target initially.

Change-Id: I98ea3e522c4c6240f08e11007d53509a3d2c15f8
button and keyboard backlight options from cm 1/2
Signed-off-by: scott <scott@ubuntu.com>

Change-Id: I2ac8f5980948a460ff984ed15d9d91c3082e6362
Revert "Touchkey light duration preference.  Needs overlay."

This reverts commit da33b7081f8a79d6f3ba2ad643274f5200fb70d5.

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/arrays.xml
	res/values/config.xml
	res/values/strings.xml
	res/xml/user_interface_settings.xml
	src/com/android/settings/cyanogenmod/UserInterface.java

Change-Id: I318cfca71086871d44c02529c70ffa79570678c3
Use a common base class for HW tuning sliders.

Change-Id: I61b458ffb08eb765f8a720657056243f56e76f17
Fix drawable being displayed empty when re-entering the target edit
dialog.

Change-Id: I032a8d8b348803448365ed81246c556da6ff4cc4
Fix NPE.

Backtrace looks like this:
E/AndroidRuntime(7061): java.lang.NullPointerException
E/AndroidRuntime(7061): 	at com.android.internal.util.cm.LockscreenTargetUtils.getDrawableFromResources(LockscreenTargetUtils.java:178)
E/AndroidRuntime(7061): 	at com.android.settings.cyanogenmod.LockscreenTargets.setTarget(LockscreenTargets.java:348)
E/AndroidRuntime(7061): 	at com.android.settings.cyanogenmod.LockscreenTargets.access$500(LockscreenTargets.java:55)
E/AndroidRuntime(7061): 	at com.android.settings.cyanogenmod.LockscreenTargets$2.onClick(LockscreenTargets.java:437)
E/AndroidRuntime(7061): 	at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:166)
E/AndroidRuntime(7061): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(7061): 	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(7061): 	at android.app.ActivityThread.main(ActivityThread.java:5289)
E/AndroidRuntime(7061): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(7061): 	at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime(7061): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
E/AndroidRuntime(7061): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
E/AndroidRuntime(7061): 	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(635):   Force finishing activity com.android.settings/.SubSettings

Change-Id: I72a5c7ff498ba0066f224a44985fadc64af4511c
AdaptiveBacklight support
Signed-off-by: scott <scott@ubuntu.com>

Change-Id: I30959cdd0a3e7cebd456798e6f4554f8a13e2886
Revert "AdaptiveBacklight support"

This reverts commit 15bbca8bfa078770cf0e36be1bc9a25922686f69.
fix display settings.
Signed-off-by: scott <scott@ubuntu.com>

Change-Id: I6650eb263c097097fc9f54b7c47311ce36a1ab64
Revert "Revert "AdaptiveBacklight support""

This reverts commit 4198c689724a679a83e48aa1fd7d5b6316f6e744.
tablet/phone style statusbar toggle 2/2 - credit vanir
Signed-off-by: scott <scott@ubuntu.com>

Change-Id: Ic4e1787c5394fa97b30808e22e1baeca8f2a8313
Revert "tablet/phone style statusbar toggle 2/2 - credit vanir"

This reverts commit e3bf17e6f0de428098ed652bcf42f30023b9eae1.
Allow using a gesture lock when adding users.

Change-Id: I20e2d09b98fa174ad47d96f206332794001c22b9
Use internal cache if getExternalCacheDir returns null

Change-Id: I560a06dc55ab1fab836fc71b4dcdfd02e1216a8b