Keydisabler: fix button light restore logic

Do not assign default button brightness if backup key is not found.
Instead do nothing. This will prevent brightness being reset to default
on boot when navbar is disabled.

If backup key is not found when actually toggling navbar then we've got
bigger problems.

Change-Id: I649bf1480a42f2cbe94d0a47a0c6055c934b4f56
Allow changing theme to Holo.Light without crashing

Themes that attempt to change the settings theme's parent to
Holo.Light will end up crashing wifi settings.

Themers should override Theme.Settings.Base and leave Theme.Settings.Holo
alone.  Attempting to theme Theme.Settings.Holo will result in crashes
when accessing wifi settings.

This was patch was adapted from
https://github.com/tung91/android_packages_apps_Settings/commit/007f03b559c6d13115c63c4f601ebc4b9324d32d

Change-Id: I61951b892acac6304d2c3dd02668eb70af93eef9
Merge "Allow changing theme to Holo.Light without crashing" into cm-11.0
Clean up search code.

Fix up coding style and add a few missing TypedArray.recycle() calls.
Also make filtering code more efficient.

Change-Id: Ie3824b41ae40010686ff3cb6cab7f12d19843834
Settings : Make search locale friendly

Change-Id: I3ae4b074af7a0ab4105f35d3ee8d6e5ef004af3d
Settings : Get actionbar post extra retrieval

Fetching the actionbar before the extras are utilized causes the parentActivityName
to be null and no home as up enabled.

Change-Id: Ic3395c4a2e0c04aee4efab5345cb604475691016
Show parent fragment name in option search.

For doing that, parent titles were missing for options placed in
fragments which are directly invoked by a settings header. Fixit.

Change-Id: Iad9340fa76eb6f2f38f4b0d7b84f2c7fa357b162
Partially revert "Settings: Fix strings for crowdin"

It didn't work for crowdin anyway & broke the string

This reverts commit 1b9a05d0461ee69ce2b40001138dda941b702905.

Change-Id: I5b3943ee8748475dd55020d7437d971305b7d091
Settings: add setting for nav bar cursor (2/2)

Change-Id: Ife5600421041cc213f0a74abbc10acaec90fbe6f
Signed-off-by: Roman Birg <roman@cyngn.com>
Clean up protected apps code (1/2)

- Work with actual ComponentNames instead of converting them between
  String and ComponentName all the time
- Name protection state parameter in methods 'state' instead of
  'protect', as a value of true actually means it's not protected. Also
  consistently use the respective constants for its values.
- Some misc. cleanup

Change-Id: I2855978c8aef3cfa14249e3398039c7cdd145ede
Fix exception being thrown if CMHW is not installed.

Happens during debugging when mmp'ing the app.

Change-Id: Ief84a812696ef3f2515701790f96649cbde0f7d9
Change "Stay Awake" description to match behavior

Stay awake acts on "plugged in" state, not "charging" state.  Update description to accurately reflect this behavior.

Change-Id: Ibad7eb8b465f31d1b6d835348eb23962657fd892
Fix translatability of modified dev countdown strings

Change-Id: I3bc1749e27068a63144fd4f3b059396344e7858d
Fix translatability of modified ADB strings

Change-Id: If16467496ff2d44c3f75574d4bfbb117d6d12692
Fix duplicate notification light string

Change-Id: I6783672d4027a147cf5f942a4618826c367cf97a
Automatic translation import

Change-Id: I9d4536bfbaf94c19e6a9d61a32999e8b9b93f470
Settings : Preserve title id

Change-Id: Ieea43e5ebe955ae31190daa0db635611c4ec7f49
Merge "Keydisabler: fix button light restore logic" into cm-11.0
Settings: Don't match action bar parent for search on tablets.

Also adjust IME flags to
a) show the search icon as action key and
b) to not appear fullscreen in landscape

Change-Id: I9bc9851d39aa4d6dbed40df63dd4ea8df6f4c3f9
Settings: Follow quick launch shortcut renames

Follow the renames of the quick launch shortcuts
introduced in this commit: http://review.cyanogenmod.org/#/c/66271/

Change-Id: Ida3fd795b2d7ff56aff1659b6b43bad9a7d44af1