Settings: don't remove navigation bar prefs when toggling

For devices which support the KeyDisabler class, toggling the nav bar
removes the navigation bar category, but does not add it back. If a
device can have the nav bar toggled, don't remove the category, but just
disable/enable it.

Change-Id: Ie527e3eb357e4a46097257d90c07c78e61f043a9
Signed-off-by: Roman Birg <roman@cyngn.com>
Settings: Only show clear button when search field has text.

Change-Id: I69bf6a31a933459be2c652434aec412105395dcc
Cleanup.

Now that button and keyboard backlight don't use the HW framework
anymore, there's no point in having an abstraction for a single use case.

Change-Id: Ib66b2a29a105d53e3ba4273abb06977b132c1fc8
Settings: Modify AOSP EL translations

Change-Id: I7e3a59412a2884c26a5eb165676e381d003f0fca
Settings: Fix the failing strings

Change-Id: I93865d793eef711f8738e00e843e9d4670724c66
Settings: Add option to scramble pin layout when unlocking (1/2).

Change-Id: I3e2c200a0a31d3c765831bc30280029a50c88051
Improve notification spam filter code.

- Follow coding style guidelines
- Replace dialog shown on click by adding the relevant information and
  the delete button to the item itself
- Minor layout tweaks
- Make the empty view more descriptive
- Add license headers

Change-Id: Ic685364087d6a093fdbb6a143a9c6ed78596b62b
Merge pull request #90 from CyanogenMod/cm-11.0

sync fork