Settings: remove auto_brightness_adjustment_title string

The controls which used this string were removed.

Change-Id: Ia1b2aa93f2beea27c17546e293b9aa7c2aa62931
Signed-off-by: Roman Birg <roman@cyngn.com>
Reset Pattern:
 - If user cancels while creating new pattern, old pattern is restored

Change-Id: I55955b1ffadca2ba712c40c7d443c4fc4b0f528c
Merge branch 'kitkat' of https://github.com/AOSPA/android_packages_apps_Settings into kitkat
settings: Auto-brightness levels shouldn't fill the screen

On tall displays this ends up with a lot of useless padding
in the list.

Change-Id: I998b86ec12d531cf1db08db7d9c23d12d8641730
Merge branch 'kitkat' of https://github.com/AOSPA/android_packages_apps_Settings into kitkat
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
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
Merge remote-tracking branch 'pa_upstream/kitkat' into legacy
Legacy Parts

This is a new global sub-category implement meant to clean up ParanoidAndroid's settings menus.

Since AOSPA-legacy uses both CyanogenMod and ParanoidAndroid's coding, things were meshed together incoherently. Legacy Parts will now house categories/features not present in the official ParanoidAndroid upstream however, needed for non-Nexus/legacy devices to function efficiently.

Great Thanks to @TheMrcool212 for allowing me to use AOSPAL's remix-settings pagertabstrip implement for Legacy Parts. Also for helping me with a great deal of resource file migration and classes.

Change-Id: I2907eafdad519a70b37159f18d42ddbc08417bee
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
Legacy Parts: Update PagerSlidingTabStrip class

-- Check if tabCount > 0
(do this before attempting tabsContainer.getChildAt(position) when scrolling to child.)

-- if pager == null no need to call requestLayout()

-- make shouldExpand work correctly
   (referenced here: https://github.com/astuetz/PagerSlidingTabStrip/pull/42)
-- Use Gravity to center tabs

-- add onTabReselected() callbackFunction
  (referenced here: https://github.com/astuetz/PagerSlidingTabStrip/pull/92)

-- Fix: Tab dislocation caused by setViewPager

Change-Id: I0184de3c010a902a721572d3dcaa75101e38aa0c
Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Add Xperia Settings to Legacy parts

Change-Id: Id1e7e341505c741d940c813787808ff8d6aac247
Merge remote-tracking branch 'pa_upstream/kitkat' into legacy
Settings : Add tap/pay help url

Change-Id: I41f37dff0fa2eb547f84aaf776950f0f42e6e36f
Settings: Import CM DA strings

Change-Id: I49ac831de36231c1f216f5c3e6831e7f01eb2836
Revert "Add Xperia Settings to Legacy parts"

This reverts commit a67cf790570ef058abb4ae076dc89144d8ce663f.

Change-Id: Ia82f89ca8394e9d3dcf7dc80d2dfccdbe6fa9bc7
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>