Factory reset: Always show the "delete media" checkbox

CM is usually installed with recoveries that preserve datamedia,
including our own, so the assumption that deleting data will also
clear personal media is wrong. Always show the checkbox that was
originally limited to removable media to let the user do a full
reset

Change-Id: I2764c9509cc9ec50a1be979d748341037660a5da
Settings: Improve location modes summary

Change-Id: Idc94015aac1944f4ab1cdf3541cd49d8b00babb2
Settings: Indicate that 'Baton' should not be translated

Change-Id: I64f77839f47192275d32e7766a9c32868ddcebab
Fix task behavior for ThemeChooser [3/3]

Change-Id: I3608d06521b650d40df1d32f6d2cce1376830a58
QS: Get your theme on from quick settings [2/2]

Change-Id: I5073decd1db34b5ab57a2f27896ab4c3e673f4c9
Setting: broadcast protected app result if requested

Change-Id: I8124fc8569123e8a631bf35593626a76ee3741dc
Signed-off-by: Roman Birg <roman@cyngn.com>
Remove the "Pass widget" config from Settings

Since the Pass widget is an app-specific feature (specifically Baton's),
the option to toggle the widget should be presented in the app's
settings and not in the system settings.

Change-Id: Iec1b4bf4fe25b0d1357c78177f05672c58fe72d3
SECURITY: Don't pass a usable Pending Intent to 3rd parties.

Unfortunately the Settings app has super powers. We shouldn't let
untrusted 3rd party authenticators re-purpose those powers to their own
nefarious ends.  This means that we shouldn't pass along PendingIntents
that can have addressing information (component, action, category)
filled in by third parties.

Bug: 17356824
Change-Id: I397d26c5f465ddfb0e58bbc66cd44756e58cc507
(cherry picked from commit f5d3e74ecc2b973941d8adbe40c6b23094b5abb7)
Settings:Appops:remove OP_WIFI(BLUETOOTH/DATA)_CHANGE from MEDIA_TEMPLATE

Change-Id: Ie587d73916802aa85f91bafd8756a6bf9549f2fc
Settings: Only show mobile data switch on preferred data sub

Change-Id: I7f997c82556d719cc39d5f6b95b5122375d6e585
Make "stay awake" also work for wireless charging

Resolves CYAN-4636.

Change-Id: I089610b8cea16bf48d044c9e9615c750608e0b90
LockscreenInterface from ToggleLockscreenTile (Part 1 of 2)

The current longpress intent of the lockscreen tile is to open
the security settings activity. However, all lockscreen options
were moved to their own fragment months ago. This fixes the
tile longpress to open the current lockscreen options.

Change-Id: I4bf240a0f1e5794dac458082e20a4a488c85133b
Automatic translation import

Change-Id: I6bb7d142d32d4ccca0d50583ce884cd9bc38a257
Settings: added wifi country code for India

The following channels are used for wifi in India
country IN:
	(2402 - 2482 @ 40), (N/A, 20)
	(5170 - 5250 @ 40), (N/A, 20)
	(5250 - 5330 @ 40), (N/A, 20), DFS
	(5735 - 5835 @ 40), (N/A, 20)

Change-Id: I9084e60ad34049e547604597e1c493680b14ff84
Persist Wifi frequency band

Wifi frequency band value was not being stored in system preferences,
since WifiService:setFrequency(int band, boolean persist) is never
actually called.

Change-Id: Ib70d97bed67fea4f06b80328158a135eb86cead7
Restore list preferences from system preference instead of currently used values

WiFi country code and frequency band are updated only when wifi is restarted.
Restore values to the list preferences from Settings.Global to convince the
user changes have been acknowledged.
Also make sure they are applied at every preference activity start.

Change-Id: I3c4e78a210550e5bc0b12d43a4f952dfd0035190