don't disable lockscreen widgets on low memory devices (2/2)

Change-Id: Iec97a60097075fde973b6928e1f21f3827e0325b
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>
Fix null pointer exceptions in NetworkPolicyEditor

This upload fixes a null pointer exception issue.
After this fix the modified methods return
their corresponding default values instead of null.
Cherry-picked from AOSP: https://android-review.googlesource.com/#/c/62248/

Change-Id: Idb94f8b808b8dd18be5e3fc92cc5560ce0f81c4f
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: Ia36eeed8b0d38c826ed499b5fd2b8264f45a459f
Performance: Allow enabling KSM by default

Allow device maintainers to enable KSM by default.
Set ro.ksm.default=1 to enable.

Change-Id: Ib432be4937dff63891e641b2f14ab223c2d245df
Drop Lockscreen vibrate option [2/2]

It doesn't make sense to keep haptic feedback on, but
disable it only for that little unlock icon.
This option didn't do anything more than that.
Let's drop it and don't confuse users.

Change-Id: I0211deea61b2d5b048deb118c30fc1397a56d3ee
[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
[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
'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
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml

Change-Id: I0c6e4f8b9620a4c66659809c1e4f09ac08f84ef4