Better string
Launch music player on headset connect
Lockscreen Targets : Fix empty magnetic behaviour

When no valid targets are set, set settings to null in order
to enable magnetic targets (aosp behavior)

Change-Id: I0ccaad25cc85f55b99e4c34cb4ffe2d06bda4a80
Fix adding apps to lockscreen targets without explicit icon selection.

Change-Id: I28c5a2fb72aabd892cc861d592ef20bcbf9fb891
Clean up lockscreen target configuration code (2/2)

Get rid of a lot of duplicated code.

Change-Id: I03faf36d5e767053072f1809f670882600ea0830

Conflicts:
	res/layout/lockscreen_shortcut_dialog.xml

Conflicts:
	res/layout/lockscreen_shortcut_dialog.xml
Hangouts!
Cleanup & fix build
Display animation settings

Credits to SlimRoms
Avoid NPE if icon assignment failed for whatever reason.

Change-Id: Iba4188d6b42179008154b8cbcbb14c36a22669de
Fix adding lockscreen targets.

The empty targets were not included in the setting properly.
Also make the code a little more memory efficient.

Change-Id: I05cc7ce55ef5789f063033116ebfd9337e5ee28a
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
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
Settings: Fix text box margin to proper gap

Fixes a long time layout glitch

Change-Id: Iba9ed2f996a3fd3222fa2a1ea0da86d6a775fd1a
QuickSettings: Don't show the Camera tile if the device has no cameras

just realized it's somehow missing in cm-10.2

Change-Id: I1ab38766e762d2a55a24e9ae4e4549de81a545e7
QuickSettingsUtil: Remove unnecessary check

Change-Id: I6946da7310aa177ea29d41f52197945d435c086a
Fix broken target icon.

Steps to reproduce:
- Assign an icon from file
- Save
- Reopen lockscreen targets
- Assign a resource icon
- Save

Result: You'll get the application icon, because the icon file reference
is still present, but the file is no longer there.

Change-Id: I8851f5fbdebfeeef9459c5b44c599e489b2dda3a
Show dsp manager
Remove Lockscreen Tile
Settings: Make Safe headset volume handling user configurable