Merge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE)" into eclair
This commit is contained in:
committed by
Android (Google) Code Review
commit
3fb4ee4e03
@@ -1672,7 +1672,10 @@ public class StatusBarService extends IStatusBar.Stub
|
|||||||
// act accordingly
|
// act accordingly
|
||||||
if ((diff & StatusBarManager.DISABLE_EXPAND) != 0) {
|
if ((diff & StatusBarManager.DISABLE_EXPAND) != 0) {
|
||||||
if ((net & 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) {
|
if ((diff & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user