diff options
author | Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> | 2013-03-25 17:08:52 +0100 |
---|---|---|
committer | Cuihtlauac ALVARADO <cuihtlauac.alvarado@orange.com> | 2013-12-16 17:07:25 +0100 |
commit | f579adc8d5e4173e106757db13095989eaa374ab (patch) | |
tree | 469d21cf4d34d201c26b944c5e9bd37c52881a2f | |
parent | a0ab49bb52f44eac97f81117d6864edd6a2e0487 (diff) | |
download | frameworks_base-f579adc8d5e4173e106757db13095989eaa374ab.zip frameworks_base-f579adc8d5e4173e106757db13095989eaa374ab.tar.gz frameworks_base-f579adc8d5e4173e106757db13095989eaa374ab.tar.bz2 |
Removed useless test
Change-Id: I6269e4ca4ced5c9d2ef68522d26e94e419980c0a
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index bbac4ef..55dd7ce 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -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); } |