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>
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: 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
Advanced reboot enabled by default (2/2)

Change-Id: Ibb6f36b17809041e8cc91fd074a1364e04104a5e
Settings: MediaScanner behavior on boot (3/3)

Change-Id: I5049cea4ac2b2dd17297bbd163cc13a7429bcba4
disable camera sounds (1/3)

Change-Id: I9c61ac497cac1af1cc8771317ada059a417b4c03
AOKP custom system animations (2/2)

ported fom here: http://gerrit.aokp.co/#/c/12305/

Thanks to Steve Spear

Change-Id: Ic692025b0db02dd01684b4e9f91d63a04f80181f
App sidebar (2/2)

Change-Id: I9aae5e80960e5037e7aa69019004d4dda91f282a
Setting: Add support to enable/disable Electron Beam (2/2)

Change-Id: Ia3060c2e66ef9a21c09e1007dc3b6a016c25a076
[2/2] ElectronBeam: Add an alternative screen-off animation

Change-Id: I9a865715d660831c8b4fe7ddc1f8e070579d1ac0
[2/2] Add battery level around unlock ring

Credits to Omnirom

Change-Id: I0115f0a6f52b02f3f3da0412ae4fa0dd77c02ae0
Custom carrier text [2/2]

Change-Id: I328b8eb9781fd0f4424bf53f8e5d0b7e82f0ad0a
Add Color Picker Preference

Change-Id: I397d6a8ab1b7232ab7e62625565e32100cb2a75e
Port OnClick Fliptile animation. (2/2)

credits to: TeamBAMF for the original work.

Change-Id: Ie24f6917fab27b5215660f0b0aaa5427aa5b6d1e