Settings: lockscreen wallpaper crash fix

If a user backs out fast enough after setting a
custom wallpaper, the fragment becomes detached
from the activity, so any calls to getActivity()
were throwing exceptions.

The solution is to use the application Context
for toassts to still inform the user of the
status, and not update any UI elements
after the fragment is no longer attached.

Change-Id: Ia9f61184fb484d3af25565bc3c56e8b7b63ff4eb
Signed-off-by: Roman Birg <roman@cyngn.com>
Add Entrypoint for theme sounds

Change-Id: I6da2fa782b9b88fc669144eb50c3231d031cd620
Make phone status string translatable.

Change-Id: I34499dffde79f842f00a8c581ead26df5475899d
Automatic translation import

Change-Id: I6b1899b2efc3cb94a9ca2088826aa05cf068101b
Merge "Add Entrypoint for theme sounds" into cm-11.0
Settings: remove screen-off animation checkbox

Instead of having a separate checkbox on whether to
enable an animation, let's collapse it into the listview
preference. Now the user is presented with 3 options:

* Disabled
* Electron beam
* Fade out

Change-Id: I8bdcfbf5eba6b639eecabe22ad9b78b642f636df
Signed-off-by: Roman Birg <roman@cyngn.com>
Don't show "Eject card" if the card is not accessible

SD card is not accessible without removing the battery on some devices.
Remove the "Eject" options on those devices

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

Change-Id: Iddfa72314f7c96579ddd98e8fb312236348b7c2d
Settings: update a few CM strings

Change-Id: I2030502c51e44076f8ac17256b1485a060598db7
Signed-off-by: Ricky Salinas <rsalinas1@mail.usf.edu>
Add dummy strings to prevent aapt warnings

Change-Id: I13e2b603bafd79bec87ee3c3e04ec8e4d5839ac2
Merge "Make phone status string translatable." into cm-11.0
QS: Make it possible to show smaller tiles (2/2)

Change-Id: I19e7f3fb4c1b0e2bcae14942eb98e039cec46d67
Revert "BT: Multi HF support in Settings App."

This reverts commit 7bbd90528064516a4aae200731a7fd60acd09192.
Settings: Remove Wallpaper selection from Display

Let the launcher handle wallpaper selection.

Change-Id: I7f0eb20a5bc01d82fdb98905524b9743fee447c6
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge "Settings: remove screen-off animation checkbox" into cm-11.0
Merge "Settings: lockscreen wallpaper crash fix" into cm-11.0
Settings: disable hardware unlock buttons while secure

Disable the unlock home/menu/camera options in settings
while a secure lockscreen is active to signal they do
not work to the user.

Change-Id: I193d253d40c7ceef80c6659b08d02be7159f476d
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge "Settings: disable hardware unlock buttons while secure" into cm-11.0
Merge "Don't show "Eject card" if the card is not accessible" into cm-11.0
MSIM: Ui fixes, replace Subscriptions with real operator names

Add Sim slot number after Operator name and check
for SIM_STATE_ABSENT and display No SIM instead of NULL

Change-Id: I2a340487fcb01dde1a50f5a45c71cd61711380c3
Call equals() comparing different types

See: http://review.cyanogenmod.org/#/c/28642/
https://android-review.googlesource.com/#/c/45430/

Change-Id: I1ef553e5d64cb36e96fdb28e7f437efb9edd5c6d