Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9c79c63 authored by Narayan Kamath's avatar Narayan Kamath Committed by Gerrit Code Review
Browse files

Merge "Removed useless test"

parents 3c8f8caa f579adc8
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -2449,12 +2449,10 @@ 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;
                }
                }
                animateCollapsePanels(flags);
            }
            else if (Intent.ACTION_SCREEN_OFF.equals(action)) {