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
Move CM updater & remove summary

* Move CM Updater to the top, like the fota app
* Use android's default 'System updates' empty summary

Change-Id: Ia3358397be97bc0ac19dd73598d053eb29efe31d
Settings: fix profile triggers not showing up for RTL languages

The layout was placing the title and summary off the screen for RTL
layouts.

Change-Id: I30e560fb9565581b2f55a826e90e110383581f28
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: disable report button for system apps

This opens CMBugReport, and we don't want these reports. Disable the
button for better UX than the button doing nothing when clicking it.

Change-Id: I2563379e7ce49a246761c040edcb797cf112efce
Signed-off-by: Roman Birg <roman@cyngn.com>
Protected Apps: Increase hit target of the launch app button

Change-Id: I38355aca37079d43975d287ee9d81c3a500c3575
Automatic translation import

Change-Id: I0bc3fa3c03b9a0f6d442906cd66b9c9d96ce93a4
Settings: fix FC viewing 'running' detail

Occurs when the app has no service running

Introduced in I2563379e7ce49a246761c040edcb797cf112efce

Change-Id: Ie97912c96aa72690dd5d4b9512dd546601a03251
(cherry picked from commit 7c8c8e7d16bf5525260c016d0a64702f5f23ce0a)
Merge branch 'cm-11.0' into stable/cm-11.0