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
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
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 duplicate notification light string

Change-Id: I6783672d4027a147cf5f942a4618826c367cf97a
Automatic translation import

Change-Id: I9d4536bfbaf94c19e6a9d61a32999e8b9b93f470
Settings : Preserve title id

Change-Id: Ieea43e5ebe955ae31190daa0db635611c4ec7f49
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
DisplayColor: Properly handle a minValue

* Previously setting anything as a minValue would cause the
  percentages to get out of whack. For instance, setting it to 35
  would cause the maximum percentage to climb above 100% as well
  as still allowing the value to be set lower than the min.
* This makes the maximum for the slider the max value minus the min
  (so we get the proper spread for min to max) and then adds the min
  back on before setting so we can't possibly go below the min.

Change-Id: I8dcdc422f54847940351fae10c74af6301d1e1be
Settings : Scroll to preference on search and highlight

Change-Id: I93c4106d022b416205cc33cf5dbdf5d7635a002a
Highlight search string match.

Change-Id: I72c0380512028674c91f287325f221a686a4821d
Improve search performance.

The normalization regex is slow (5-10ms per entry on mako), so better
pre-cache it. Also cache the icons, as the number of icons is vastly
smaller than the number of potential search results, so they'll be
reused very often.

The regex change alone brings the duration of a single filter run down
to ~20ms from ~1200ms on mako.

Change-Id: Ia0fa9c554d0d585a52c8a2b87eecbf045388c961
Settings : Add tap/pay help url

Change-Id: I41f37dff0fa2eb547f84aaf776950f0f42e6e36f
Settings: persist double tap to wake state

After disabling double tap to wake and rebooting, the state would be
persisted in the device, but it would display incorrect checkbox state.

Fixes JIRA bug BACON-92

Change-Id: Ie99e59872778dcdc3028e1770d97507fd831f515
Signed-off-by: Roman Birg <roman@cyngn.com>
Move Wakelock Blocker
Add weather [WIP] (4/4)

PS3: Add new weather menu
     Alert dialog is WIP
     icon is WIP
PS4: fix build
PS5: AlertDialog show inverse value
PS5: DialogAlert reboot working
PS6: Added icon
PS7: Fix whitespace
PS8: Fix toast message
PS9: Refix notificationmessage
PS10: Add missing \n

Change-Id: Id4a1afc899156299aa97fb41d283f67107b32cc7
Settings: Vibration options (2/2)

minimum vibration duration
change vibration multiplier

Change-Id: Ib074c83d0aafd7fce40b2c3303de5979a64b62cb
Signed-off-by: hany <hany.alsamman@gmail.com>
Weather: AOSBfiy