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