Update updateQuickPulldownSummary function to fix build error
Merge remote-tracking branch 'PA-settings/kitkat' into kitkat-remix
Bluetooth: disable scan icon when BT state is off

Usually onScanningStateChanged function should take care
of disabling the scan icon when the scan is completed.

But When the BT scan is going on and try to switch of the
BT, as onScanningStateChanged function doesn't have the
reference for scan icon it will not disable it, so disabling
is taken care in BluetoothSettings on receiving BT Off state.

On receiving BT Off state, disable the scan progress icon only
when available device category is present.

CRs-Fixed: 543777,596214
Change-Id: Ib827903d4f5c80eeb6ac8a06fb1a945140dd20c9
Bluetooth: A2dp: Add A2dp Source UUID

Add A2dp source UUID to A2dp profile UUID list so that
once SDP is performed after pairing, A2dp profile is added
to the cached device instance if remote device supports
either A2dp source or sink role.

Change-Id: I67b16ac2c6fd7a6c2510c80c41dca27c35225a1b
CRs-Fixed: 593841
Bluetooth: Validate the device for A2dpSink

This change will check if remote device supports A2dpSink before
sending A2dp connection Request.

Change-Id: I141099f14b697debce59d094a388de344aad1df1
CRs-fixed: 590200
Add setting for network indicators [2/2]
Merge branch 'kitkat-remix' of github.com:AOSPAL/android_packages_apps_Settings into kitkat-remix
Settings: SuperSU from Settings

If SuperSU is installed, show an entry in Settings below
"Developer options", which launches SuperSU when tapped.
At boot time SuperSU will detect if com.android.settings
contains the resources from this patch, and if so it
will hide itself from the launcher. This was implemented
in v1.85, so we only show the entry if the installed
SuperSU version is at least that.

PS2: Better Drawables courtesy of Lo

Signed-off-by: ayysir <dresadd09691@gmail.com>
Signed-off-by: houst0nn <houstonn@gmail.com>
Change-Id: I1796d92458587b9e961d5d8e6d58099e8367834d
Fix build by adding needed import statment
Revert "data usage cycle length"

This reverts commit 0f55691807949fe46b0f62a7f8a53b9461dd5661.
Merge branch 'kitkat-remix' of github.com:AOSPAL/android_packages_apps_Settings into kitkat-remix
Revert "Revert "data usage cycle length""

I thought there was a new implementation on other sources, but it was turned out to be the same T_T

This reverts commit 79ba7044c689196c0321b67938207e55a77b82e0.
Bluetooth:GAP: Handle exception while unregistering the Receiver

Handle the IllegalArgumentException while unregistering the
Receiver.

Usually when user presses both cancel and okay for the disconnect
dialog, OnClickListener will be called twice for both options,
and for the second time it is expected that receiver would have
already unregistered.

Change-Id: I36e30d551df76b7cfd1754305a1087578fd4a275
CRs-Fixed: 595648
New (?) easter egg

Put some paranoid faces on it and call it a night

Change-Id: I1bab94a6f3cc29cd29e84f81af2d4d91fc23e12b
Merge remote-tracking branch 'PA-settings/kitkat' into kitkat-remix

Conflicts:
	AndroidManifest.xml
Merge "Settings: SuperSU from Settings" into kitkat
Merge remote-tracking branch 'PA-settings/kitkat' into kitkat-remix
Settings: add better dialog handling for adb over network

thanks fusionjack for this

his fix was accidentally removed

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