systemui: improve DessertCaseDream immersive mode exit

Change-Id: I9d68e3f2e63467ae2f842a99e0071b562dfb6b15
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/DessertCaseDream.java
core: fix volume panel more button transparency

Change-Id: I9f728256efbaf138611822079ea7737cd345bb19
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Show live wallpapers in the recents view on high-end devices

Change-Id: Iefbf4f292b6a9bfdb516f154cc2976db2ba86cde
Block application install from unknown sources through adb

adb install command  doesn't check source of an application.

This change enforces that adb install command only works if user has
download/install from unknown sources selected in settings app.

Change-Id: Id0d328d1dad36089802d6bec2f5d2f940e045c25

Conflicts:
	services/java/com/android/server/pm/PackageManagerService.java
NumberPicker: Don't filter Bengali-Indic characters

Add Bengalese digit characters to the digit characters list of
NumberPicker.

CRs-Fixed: 530201

Change-Id: I32445660c2c2a451c71f5a235ee71ae906660f12
NumberPicker: Don't filter Devanagari-Indic characters

Add Devanagari digit characters to the digit characters list of
NumberPicker.

CRs-fixed: 530201

Change-Id: I0f5b273679e3f0bb478c8a6f0609b1bb8a0fac11
Update lock screen and sysbar pie images
wifistatetracker: silence more logging

Change-Id: I3d8e7cf0ed028b1213149d89088a2021c838e433
Fix a JNI local reference leaks of CallStaticObjectMethod

Change-Id: I98cf300075fb8e8b3fbc532c6e94370542f6fffa
Signed-off-by: You Kim <you.kim72@gmail.com>
notification/settingspanel: stop getting a gesture recorder

We're currently getting gesture information on fling even
if the log ouput for DEBUG_GESTURES is turned off so.. lets stop.

-Vanir

Change-Id: I70810fb2fb9e4b134492ffdd1ac844fe65f7fb75

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/SettingsPanelView.java
systemui: turn off debugging

should be all of it

-VanirAOSP

Change-Id: Ia279a1be6968f67a4ad448cf51743f4c455af88a
Fix tracking of broadcast reference count

Decrement the mBroadcastrefCount when an element is
deleted from mTriggeredUids list. And in failure case
reset mBroadcastRefCount to 0.

Change-Id: Id002bb7a8439ef93eabe031bf318bd424cefc88b
Fix ellipsizing of emoji symbols in StatisLayout.

Change-Id: Ia057053a7dd6e5a256499f6bded99872581de18e
Frameworks: derp

well it does not effect us due that we proper preload etc. But if it is not
a cancel repload event should reset the mIsPreloaded flag

sorry

Change-Id: Icc531dcd6bae187473f65ec7da267c72f9edbcf6
Signed-off-by: dragon <dragon7780@hotmail.nl>
ANR caused by incorrect cleanup in BroadcastQueue.

Two broadcasts could be sent to the same app simultaneously:
one foreground, one background. For example, LOCALE_CHANGED
and PACKAGE_CHANGED are delievered to com.android.vending
at the same time.
1. AMS started new vending process to handle LOCALE_CHANGED.
   And set app.curReceiver = LOCALE_CHANGED.
2. Before LOCALE_CHANGED is handled by vending process,
   PACKAGE_CHANGED was delievered to vending process too.
   AMS set app.curReceiver = PACKAGE_CHANGED. Bad!
3. Vending process finished handling LOCALE_CHANGED.
   AMS clear app.curReceiver = NULL. Bad!
   And Vending process  killed itself without handling
   PACKAGE_CHANGED.
4. AMS known vending process has died, but didn't know that
   BgBroadcastQueue was still waiting for finish message
   for PACKAGE_CHANGED.
At last, BgBroadcastQueue reported ANR for PACKAGE_CHANGED.

This patch adds protection before clearing app.curReceiver,
only set to NULL if the finishing receiver = app.curReceiver
So handleAppDied would know that PACKAGE_CHANGED was not
finished yet, it will abort the broadcast and continue.

Change-Id: Ic4f31b35e21823d4a3c27712391ecbede213a494
Signed-off-by: Guobin Zhang <guobin.zhang@intel.com>
Remove stray logging statement.

bug: https://code.google.com/p/android/issues/detail?id=66974
Change-Id: Ie34c102de143cf6aeb16c78778dda3ef5e928380
Detach engines before destroying WallpaperService

WallpaperService contained a race condition where the service might be
destroyed before all its engines had been detached. For subclass
ImageWallpaper this would leak the engine's BroadcastListener, which in
turn would trigger a system crash (as ImageWallpaper runs as part of
the system).

Change-Id: Ia900173a1d3070cbf6bcf769f68376c8c8cbc62a

Conflicts:
	core/java/android/service/wallpaper/WallpaperService.java
Place notification reminder above the QS Ribbon

Signed-off-by: dragon <dragon7780@hotmail.nl>

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded.xml
Fix build