Forward port circle battery.

Change-Id: I6f832e614523b5218e0314060b04c2fc28968553
Fix FindBugs issue

UsbStoreActivity: Null pointer derefence

Change-Id: I9d631c50c30eb98e32cca5a5085513b6904db676
Fix Quick Settings tiles jerking down while animating to notifications view

Patch Set 2: Fixed in code rather than XML

cherry-picked to cm-11: fixes Quick Access Ribbons not appearing
when switching back from Quick Settings

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I1689aa80a0fcb8ad17bcefc290b43a16079f7b88
SystemUI: add CHANGE_NETWORK_MODE permission

Required for 2G/3G quick settings toggle

Change-Id: I72392bd995d12c22388c99f34abb431cd0be8f0d
Merge "Fix Quick Settings tiles jerking down while animating to notifications view" into cm-11.0
framework: fix reference leak in activiy manager

Change-Id: If7f27ea35f5a1d1dd7c98fbe5f92729ab9ba0257
pm: Prevent a system_server crash is package name is null

 * If an app is placed on the system partition and it doesn't specify a
   valid package name, system_server will crash forever. Just skip it.

Change-Id: I9b911d40b3c4d7cf6fac8cc0166a2ba359329b7b
Merge "Fix FindBugs issue" into cm-11.0
Externalize symbol picker options to resources

Having the symbol picker options in resources allows a change to be made for
a specific device, and even for a specific locale (change in overlay).

Ported from cm10.2: http://review.cyanogenmod.org/32581

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I72ff6fab6b9c14f9761904fdcc6918784d790d4d
Prevent lock/unlock sound during music playback

Lock/unlock sound mixes in with music and causes
lag and distortion.

Change-Id: I9d3582c6bf28aa62a5a6712bc9e89eb2f73e0288
Revert "am: Allow more hidden apps on devices with lots of RAM"

 * No longer required.

This reverts commit e943b71954faa659c6e03808cd912a4e9f898b05.

Change-Id: I5e20b08277d1695a8a3c57c72f1b5ca6aec70f8c
Merge "SystemUI: add CHANGE_NETWORK_MODE permission" into cm-11.0
SettingsProvider: Initialize defaults for CM features

Add configuration defaults for:
- status bar notification count
- QuickSettings quick pulldown
- lockscreen targets

Change-Id: Ief4b97fcceea7e351a13d59136a2fb1823d97b04
Fix navbar editor for RTL layouts.

Remove navigation bar layout XML override which wasn't needed anyway, as
the views in mid_navigation_bar are already reordered based on the
layout direction anyway.

Change-Id: Id57c781d9580fa0cb2eab3bb332daf4136bec321
JIRA:CYAN-2557
Register the ActivityTrigger on all QCOM devices

Change-Id: Iaecb5dd82be64fea5a625cc42243203d0f2f2ce9
frameworks/base: vectorize Bitmap operations

Enable gcc vectorizing optimizations for Bitmap operations within
libandroid_runtime.so.  Adds -ftree-vectorize -mvectorize-with-neon-quad
-fprefetch-loop-arrays to functions and compiles Bitmap.cpp in ARM mode
(necessary to enable vectorizing optimizations) for appropriate targets.

Change-Id: If52a789b6f592b137e64e85077665c9ce5957f79
Merge "Fix navbar editor for RTL layouts." into cm-11.0
Fix the resource IDs used by CTS tests

* Google didn't make networkAttributes a public resource, so everyone
  is failing CTS after adding new resources to the framework. This
  fixes it.
* Same thing with config_useFixedVolume

Change-Id: I720b36d0922b636fe30f691f016add6b8cc7ade3
MiniThumbFile: Fix image/bitmap retrieval

Change I66005dd69b0a5c8f4353bd7a8225d163a654fd2d changed the insertion
and creation indexing mechanism, but the retrieval method was still
using the old sparse one. Fixit

Fixes android.provider.cts.MediaStore_Images_MediaTest#testInsertImageWithBitmap,
android.provider.cts.MediaStore_Images_MediaTest#testInsertImageWithImagePath,
android.provider.cts.MediaStore_Images_ThumbnailsTest#testQueryExternalMiniThumbnails,
and android.provider.cts.MediaStore_Video_ThumbnailsTest#testGetThumbnail

Change-Id: I41feea79fa304635f3908055fb95a8c85718a97f
SystemUI: fix wrong statusbar background.

If we turned off screen while some panel was visible than
background of PhoneStatusBarView will not be updated because we receiving single
panelExpansionChanged call and after super.panelExpansionChanged mFadingPanel
will be null (onAllPanelsCollapsed cause this).

Allow updating background when mFadingPanel is null.

Change-Id: Ib123f27500790c1b7ec787b7e433372629daa08d