Settings: Fix switch state being out of sync.

    - Since QS Tile can also set state of Heads up now,
    we have to set a content observer for the action bar
    switch.

Change-Id: I1c63fd2627a0f823eb6982456e1ed79ab84d1957
Automatic translation import

Change-Id: Icb77a2c1f07d2e54f64928f32f0b16482772fe47
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
settings: Unbreak wifi display on tablets

In change 46af8086db0db5b41f20c9f05a5f42c182262576 the option
to enable/disable the wireless display was moved to an action
bar which ends up entirely removing the ability to enable it
for devices using Settings in tablet (multi-pane) mode.

Follow the pattern of dreamcast which correctly displays
and removes the action bar.

Change-Id: Ie82b04b5e96a59ec093323601f8e79d23a6e69de
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
Add some system packages to package list adapter.

As we're using the adapter for notification control stuff, we need to
include those packages, too, as they're throwing notifications as well.

Also optimize code a little.

Change-Id: I8829041a535923e3d93d9566e27eb99c48f25abd
Settings: Fix strings for crowdin

ps2: applications > apps

Change-Id: I99a80f496c28bfa0788c1d7c41da743c93dfdb8e
Settings : Use split action bar when entering profiles externally

Change-Id: I2a93ea98d73d76cdc277cdf4f3a15bb5c4c4d9f4
Settings: Remove unnecessary padding from HeadsUpSettings.

Change-Id: I823aa97f32049dc6c6baf6c859c47219952fe454
Automatic translation import

Change-Id: I68ccea90180cbf806d79887cfb512144cc5bcd45
Merge "settings: Unbreak wifi display on tablets" into cm-11.0
Merge "settings: Auto-brightness levels shouldn't fill the screen" into cm-11.0
Fix heads up action bar switch handling for tablets.

Similar to commit 91f47b9f55467f1c8de4c6c732375d9f6f3c3942.

Change-Id: Ia4c5e8169ccd6786d2284eccec30397cac48d218
Settings: Make settings searchable.

Signed-off-by: Adnan Begovic <adnan@cyngn.com>
Signed-off-by: Danesh Mondegarian <danesh@cyngn.com>
Change-Id: Ic06dca33bf8fd0ef8f63f51e131b70fe730cb7c5
Settings: Check to see if menu items are null onPause.

Change-Id: I5463b1eab1017840ec1ec204090c9c61603377a3
Settings: Disable navbar options when navbar disabled.

Change-Id: I675df3fd71e9103ca814370e30c21663870ae53a
Revert "Settings: Disable navbar options when navbar disabled."

This reverts commit af060b27a8243cec50c3114cde302f553b2b482e.

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