Merge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE)" into eclair
diff --git a/services/java/com/android/server/status/StatusBarService.java b/services/java/com/android/server/status/StatusBarService.java
index a103dcb..34921d6 100644
--- a/services/java/com/android/server/status/StatusBarService.java
+++ b/services/java/com/android/server/status/StatusBarService.java
@@ -1672,7 +1672,10 @@
// act accordingly
if ((diff & StatusBarManager.DISABLE_EXPAND) != 0) {
if ((net & StatusBarManager.DISABLE_EXPAND) != 0) {
- animateCollapse();
+ Log.d(TAG, "DISABLE_EXPAND: yes");
+ mAnimating = false;
+ updateExpandedViewPos(0);
+ performCollapse();
}
}
if ((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {