Settings: Fix profiles volume override summary.

Change-Id: I499cfb3006a7fc7b5e931ac854a7437f5d141523
Add support for single color notification LED (2/2)

Change-Id: I4cf21dda3d9e311146149c2ec81fe2398f5f9f87
Fix light preference padding

* Based on normal list preference

Change-Id: I2ae4a512ce1f5e6b6613885a755e9d7fbb0ff4c6
Don't try to restore Set on Boot settings before decrypting

If encryption is enabled, BootReceiver will not be able to find
the performance preferences and set sys.{cpufreq,iosched}.restored
to true, inhibiting the second invocation after decryption from
doing so (because it thinks that the settings were already restored).
This patch fixes that by not attempting to restore settings while
/data is not yet decrypted.

Change-Id: I8bfe1cda856f344995e5528ebfb9c894701b395e
Automatic translation import

Change-Id: I705ae50cb4b345f56509ee00ceefbeb138f5a4a0
Launch theme chooser that supports cyngn.intent.category.APP_THEMES

If we receive an ActivityNotFound exception we will simply show
the theme settings fragment.

Change-Id: I38bf6857125cdeda310e3bb5614fd6adaba8265f
Settings (MSIM): Refactor tab labels to use global sim name

Change-Id: I02d60901d4d16f3b16ede9c34dce8f000a79addc
Settings: Minor string update for msim

Change-Id: I20edc79b291405b44cbf483f615c6473e5934de8
Settings: update Data Usage summary multi sim title

Change tab names to match the About SIM tabs and Mobile networks tabs as
well.

Change-Id: I401a7a9e57a0f87fd99f6835d5a91b26ff930ad9
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Fix sim name derp

Change-Id: I6d58cf2c5c006e52c4e3652eff5acbcbf7c0f118
Settings: Don't use a progress dialog when setting msim data subscription

Change-Id: I60f0c8da0c56bf985aa4dc04e0232b70496f263c
Settings: move getFormattedSimName() to frameworks (1/2)

Change-Id: I6925ac82a777c15fcb6b8ada37ef79dd31ce77dd
Signed-off-by: Roman Birg <roman@cyngn.com>
Update marketing name for Appcast to Pass

Change-Id: I1aaaaaad8070ad0849db1d50ae1599c0706397e6
Enable application widget (pass widget) for the mod lock too.

Change-Id: I999511bfa88b4554f8c4bd09e6c8a0237eaa2310
Add description to Nextbit Pass widget setting

Change-Id: I9dae1d91bc339af1344ae5a2f977415b6a199f09
Settings : Don't disable persisting for MultiSelectListPreference

There is an aosp bug where MultiSelectListPreference stores a custom state type,
but doesn't override onRestoreState and causes an exception to be thrown when inside
activities that don't override orientation change.

This patch resolves this issue by persisting the preference change, which bypasses that route.
No functional impact since we override the values from the settings provider onresume anyway.

Repro :

    - Launch dialer
    - Launch Settings
    - Launch blacklist
    - Launch settings
    - Rotate phone
    - Realize you need this patch :)

Change-Id: Ie51119190fa6c43db612223bdb60c00fe607b9bf
Automatic translation import

Change-Id: I58c441d0466514075b91a7a56b5d1a12132bda91
Settings: added FastCharge QS tile

Change-Id: Iff94e5aee0694811015e631d13f8e99237160f86
Lockscreen: See through (2/2)

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

Signed-off-by: D4rKn3sSyS <jesdga95@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Indenting and fix of the LOCKSCREEN_SEE_THROUGH variable check.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS3:

* Add see through checkbox to security_settings_chooser.xml, reflects the security_settings_lockscreen.xml.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS4:

* Made the option available with every lock mode (PIN, Password etc.) cause it works with every mode now.
* Update description with better one.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Make description more like aosp strings.

Change-Id: I8c8d70d214bc36504ff0cfbe8d40656eb56d62ff
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Advanced storage: vold swap storage paths

Advanced storage settings patch series:
[1/4] vold: allow swapped storage paths at vold init
      http://review.cyanogenmod.org/56515
[2/4] Advanced storage: vold swap storage paths
      http://review.cyanogenmod.org/56516
[3/4] storage: allow swapping primary storage for apps
      http://review.cyanogenmod.org/56950
[4/4] Advanced storage: swap primary storage for apps
      http://review.cyanogenmod.org/56951

This adds an "Advanced storage settings" menu item under Settings >
Storage with a new option "Swap vold primary storage". Enabling this
option remaps primary storage to secondary and vice versa when vold
initializes.

The implementation is a hybrid of David Hacker's "Add setting for Vold
Switchable Pair (2/2)" [http://review.cyanogenmod.org/48390] and Ricardo
Cerqueira's "Storage: Allow user to choose internal storage"
[http://review.cyanogenmod.org/12858].

Change-Id: I9461b65a8d3afb51c3dbe706687b81bd5f8c920c