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
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_Settings into bmfr-kk