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>
(cherry picked from commit 67b8c1cc419fc82be662e8c72f24d281cbc8a5b3)
(cherry picked from commit 7f490179715e5af96e5af13df05fe7de256b6639)
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>
(cherry picked from commit 0297b9c9621ea049b4e9af04eae70283f2a65e44)
(cherry picked from commit c75512d9db4ee94686e77a1296708aa0e44b9491)
Merge "Don't show "Eject card" if the card is not accessible" into cm-11.0
(cherry picked from commit 3dc7fcb01c6153f91f80418e1bda4f50aa7b5f49)
Merge branch 'cm-11.0' of https://github.com/096-NET-UKRAINE/android_packages_apps_Settings into cm-11.0