Fix one NPE in tethering setting

Once we not declare BT feature, go Setting->more->tethering
will trigger this NPE.
Cherry-picked from AOSP: https://android-review.googlesource.com/#/c/63695/

Change-Id: I4736e7bade261475acda74e26250a81452018ffa
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
Settings: fix typo

KEY_SENORS_MOTORS_CATEGORY should be KEY_SENSORS_MOTORS_CATEGORY

Change-Id: Id09c2c8c2f8427b59648e34d8883a7b9b691989d
Show memory full text only for internal storage

When the internal memory is full, a warning text is shown
in Settings/Storage. This warning was displayed for all
types of memory (internal/primary, sd card and usb storage)
even though it was only referring to the primary memory.
With this fix, it is only shown for the primary memory.

Change-Id: I35ad4b0b45c6752ddc9d7166495435b27fd4a170
Bleed keyguard widget picker list into translucent bars

Change-Id: Ie929845fd8b822dcf858b9b56cb5758379d55c59
Remove empty App Security preference group

Change-Id: I20f1f08e08d31901cf8fe799d426575430604145
Signed-off-by: scott <scott@ubuntu>
[1/2] Settings AppOps: Forward port wifi/bluetooth/mobile/wakeup ops

    Squash of:

    Author: Shashank Mittal <mittals@codeaurora.org>
    Date:   Thu Sep 5 19:01:47 2013 -0700
    AppOps: Add more operations in app ops settings.
    Add following operations in app ops settings.
    -- Wifi enable/disable
    -- Bluetooth enable/disable
    -- Mobile data enable/disable
    Change-Id: I32183d77b88c326168557444a445765b5a69de6f

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Mon Sep 30 23:10:35 2013 -0700
    [1/2] AppOps: Add alarm wakeup op
    Change-Id: Ic739519cb9df9d2c67d65e3572a119b4d55145f0

Change-Id: Iacfbf6abccdda65afc3b7b83bfc03b30d94afd77
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
[1/2] Settings AppOps: show/hide app type and allow/deny counters

    Squash of:

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Thu Oct 3 13:51:31 2013 -0700
    AppOps: menu options to show/hide user and system apps
    Change-Id: Ia55364c361db949a891e4b53a757ee4dff519eb6

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Wed Oct 2 22:24:14 2013 -0700
    [1/2] AppOps: Show allowed/ignored counts
    Change-Id: Ia27737155c33e934df9a2a1fcff88379240fd096

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Sun Dec 1 21:39:07 2013 -0800
    AppOps: only apply app type filters to summary screen
      *) If buildState() is called for a single package, do
         not apply hide user/system app filters.
      *) Fixes show detail display when called via
         long press in privacyguard and an AppOp hide
         filter is ticked.
    Change-Id: If31d094fb989836ab6829daeefe820695032c0ed

Change-Id: Ia55364c361db949a891e4b53a757ee4dff519eb6
[1/2] Settings: AppOps: Add bootup template

This template lists all the sevices and apps that auto start on bootup.

User can use this template to control list of auto start applications.

Change-Id: Ibf03d7df0037c87eb2ef3ca48a34ef46a103b4d7
add back a skinny bootreceiver

Change-Id: Ib6ae471b2af9326b756846555f86b1fe1bf71b6a
Signed-off-by: scott <scott@ubuntu>
Add shortcut to screen security from lockscreen options.

Been wanting to do this for awhile, but kept putting it off.

Change-Id: I9109af179b378ad4549cee2bd9a72002e871030b
Signed-off-by: scott <scott@ubuntu>
make power menu on lockscreen configurable

Change-Id: I447ab86385cd7fbb68b69afb7952c9d00056e9bd
Signed-off-by: scott <scott@ubuntu>
'When to daydream' dialog does not follow the JB dialog design guide

The dialog is a single selection popup and according to the
dialogs design guide the popup should close when the user
has make his/her choice, but in this case it does not.

Change-Id: Iac6bc19146a88236d3253d2d846212ce09b4925b
Settings: fixed battery stats app list

http://jira.omnirom.org/browse/OMNI-493

The check of mAppListGroup getPreferenceCount is no longer working
after we added other options on this page. Add a separate counter to get
back the full possible list of 12 apps

PS3:
IMHO the number of apps should be 10 if we have
MAX_ITEMS_TO_LIST = 10

Change-Id: I679b01deec0f52d4fa2012a31b7b305f8fe176b5
fixup powermenu option

Change-Id: I85afa59d387a838c28ed4e83df8829215bef7fa5
Signed-off-by: scott <scott@ubuntu>
remove lockscreen blur hack

Change-Id: I5e470c104b8a8622f4995b41cac7743e528601ed
Signed-off-by: scott <scott@ubuntu>
Settings: NL translation

Change-Id: I8dea87f02ca87cabc8430331c131fc846183ed53
squashed appop revert

Change-Id: I45d33f75db5e83e42bd039aa4a8de75f59f70682
Signed-off-by: scott <scott@ubuntu>