Merge "Removed useless test"
This commit is contained in:
@@ -2449,11 +2449,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode {
|
||||
String action = intent.getAction();
|
||||
if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
|
||||
int flags = CommandQueue.FLAG_EXCLUDE_NONE;
|
||||
if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
|
||||
String reason = intent.getStringExtra("reason");
|
||||
if (reason != null && reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
|
||||
flags |= CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL;
|
||||
}
|
||||
String reason = intent.getStringExtra("reason");
|
||||
if (reason != null && reason.equals(SYSTEM_DIALOG_REASON_RECENT_APPS)) {
|
||||
flags |= CommandQueue.FLAG_EXCLUDE_RECENTS_PANEL;
|
||||
}
|
||||
animateCollapsePanels(flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user