[SQUASHED] Lockscreen Notifications (2/2)

Following commits inside (with minor adaptations)
https://github.com/AOSPAL/android_packages_apps_Settings/commit/10ccffd1ca698aa204479d1c935a3ce3fa47edb2
https://github.com/AOSPAL/android_packages_apps_Settings/commit/17c7bcf21b56a8d977b26f62921d58a3db024a98
https://github.com/AOSPAL/android_packages_apps_Settings/commit/db6757742959c983d2a3477c217fe68e870a6969
https://github.com/AOSPAL/android_packages_apps_Settings/commit/8fc910a7d0a3d559b125706ddf4b65b71bada6c1
https://github.com/AOSPAL/android_packages_apps_Settings/commit/a73649abfce893d99ddc902a04d495970c0f117f
https://github.com/AOSPAL/android_packages_apps_Settings/commit/9b8a305b968018ab4b26fd35720a1e98ccd3852c
https://github.com/AOSPAL/android_packages_apps_Settings/commit/cb18eca4bf63833428b4487c54b1bc3b1b96f66b
https://github.com/AOSPAL/android_packages_apps_Settings/commit/b2ff326f86c6641486dc92de9e02c36a727f5040

Change-Id: Ib13c39cb67839bec92a660000eae23bdb7fdfa30

Conflicts:
	res/values/cr_dimens.xml
Make phone status string translatable.

Change-Id: I34499dffde79f842f00a8c581ead26df5475899d
Add dummy strings to prevent aapt warnings

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

This reverts commit 7bbd90528064516a4aae200731a7fd60acd09192.
PT-BR translations

Change-Id: I5deed76ac51692148a47ba07949101ae2074e330
Settings: Remove Wallpaper selection from Display

Let the launcher handle wallpaper selection.

Change-Id: I7f0eb20a5bc01d82fdb98905524b9743fee447c6
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>
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: 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>
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
Add Gesture Lockscreen [2/2]

Change-Id: If5bb620cbc69fc8771e2b6211a2daf78bc50a995
PT-BR translations

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

Change-Id: I2030502c51e44076f8ac17256b1485a060598db7
Signed-off-by: Ricky Salinas <rsalinas1@mail.usf.edu>
Fix MSIM Network Settings (1/2)

Add needed extras to launch subscription selection.

Change-Id: I568666477fe9a5cf566fd94475f8d2a5ebf768e1
Revert "QS: Make it possible to show smaller icons (2/2)"

This reverts commit 0a53c31c1957ea9a4d60cb82683246741580f8b2.
Extended QS options (2/2)
- 3, 4 or 5 tiles per row
- Duplicate tiles quantity in landscape mode

Change-Id: Icc4eef0a80ada1a70ba9a8aff643188bd9477c78

Conflicts:
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
QS tiles custom background (2/2)

Original commit: https://github.com/SlimRoms/packages_apps_Settings/commit/fea8eee396b8b067bb67b3fabd0c05b0f6980861
Thanks @kufikugel

Change-Id: I3825b5081fbf4d5bc2942f479fb3f2c3b9fdd655

Conflicts:
	res/values/cr_strings.xml
Settings: Only disable menu unlock options with custom keyguard

These buttons have a proper use case with the regular lock
screen, but are not applicable to our custom lockscreen.

Change-Id: Ic5af82bc1998a2960ba44d4235881d46e5081e5b
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: lock screen grammar fix

Change-Id: Ic6bd08ea80e6cd8970c5cb5e36e715811953d12d
MSIM: Hide latest area info broadcast if not brazilian sim

Change-Id: I6beafb788ea66c6e97ca0545380f1ea296841c1f