Removed GenericCollapse
GlobalActions: Set the initial status of airplane mode toggle

Actually, the initial status of airplane mode toggle is set to false
when the power menu dialog is initialized.
This causes an issue if you set airplane mode and then reboot.
After the reboot, the dialog displays the wrong airplane mode status,
eg. "Airplane mode is not active", and if you toggle that option, a wrong
intent is sent again to put ON the airplane mode, instead of OFF, the
toggle (that is in transition state) will be set disabled.

This commit fixes this issue.

Change-Id: Id30355c1e090355645c437086c79ab59093c27a8
systemui: improve DessertCaseDream immersive mode exit

Change-Id: I9d68e3f2e63467ae2f842a99e0071b562dfb6b15
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Bluetooth: Fix to avoid framework reboot during monkey.

A case where monkey is running & sometimes framework is
disconnected due to unhandled java Exception during the
binding of DUN, SAP, HID device & PAN service on unsuccessful
binding. So it never handled. Handing java exception while binding
DUN, SAP, HID device & PAN  services to solve this issue.

Change-Id: Idea710593a3f9496305f636042605303e73e7749
CRs-Fixed: 564709

Conflicts:
	core/java/android/bluetooth/BluetoothHidDevice.java

Conflicts:
	core/java/android/bluetooth/BluetoothHidDevice.java
Keyguard: fix statusbar lags when default widget shown.

When statusbar became expanded KeyguardStatusView receives
onKeyguardVisibilityChanged callback and refreshes ClockView.
Because it receives more than one call and every time it reads
new values from resources it cause lags in opening statusbar panel.

Replace this code with BroadcastReceiver and ContentObserver to
refresh it only in case something was changed.

Change-Id: If0dbc1db059536806852661931cb2e6436f2acf4

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardStatusView.java
Add "Clear All drawables" for NavBar

This is a part of "Recents: Clear all button for recent apps." from PA

Only for show in Lockscreen when are notifications

PS2: Update author & message
PS3: Damn damn I put the drawables in the wrong place...
PS4: Added missing import

Change-Id: I9164ef632d7d7bc31d81bb7a6d87c5d1562d5410
Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Notififications: Fix NPE

Change-Id: I8cd547abf384098aa33d53312815f84cd3ee6479
Signed-off-by: hany <hany.alsamman@gmail.com>

Conflicts:
	packages/Keyguard/src/com/android/keyguard/NotificationHostView.java
Notifications: try to fix occasionally SystemUI FC on boot

Change-Id: If21f3810444919a36a5ad2ce9027c9cfb0c71ba1
Signed-off-by: hany <hany.alsamman@gmail.com>
FW: LS Notifications: Add "Show all notif" NavBar Button

from: https://github.com/AOSPAL/android_frameworks_base/commit/4325a110af58e6b1c7e1005a9f1f2576bbad5e60

PS2: message & Author update
PS3: Rebased & remove unrelated changes

Change-Id: I67456db4f9728fefbabc9da9c290d070021705b4

Conflicts:

	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	packages/SystemUI/res/layout/navigation_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Notification:  Lockscreen Notifications: dismiss all button, improve animations, cleanup

Change-Id: Ia8ac73e2753d61a2856c5cee8d38e3a090a0e73d

Conflicts:

	packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
	packages/SystemUI/res/layout/navigation_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

Conflicts:
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	packages/Keyguard/src/com/android/keyguard/NotificationHostView.java
	packages/Keyguard/src/com/android/keyguard/NotificationViewManager.java
libaudioeffect_jni GREF leak fix

- excessive jni reference in AudioEffects
- global references created during native setup are not deleted
- global references are dleted in setup failure and during native releases

Changeset 2:
    -fixed whitespace, and rebased on jb42

Modifications, 1 tab == 4 spaces

Change-Id: I3ff54cc3b0c5394e978421dad3a7a257551f776e
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
core: add support for translucent volume panel

Add support for display the volume panel in translucent mode

Patchset 4: Make it depends to high-end graphics flag

Change-Id: I4f21a6cc88282789072a0e71ae696b754a5e083e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
base: apply custom timeout upon volume dialog instantiation

The custom timeout is correctly applied at runtime, but after a reboot
the VolumePanel will revert to the default timeout, since the custom
value is not read from the config during instantiation

Change-Id: Ifa389011247adeee70ad5f3ff0b0072dd3dff02a
Fix build