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

Commit d5132610 authored by Nick Reuter's avatar Nick Reuter
Browse files

Remove duplicate if statement

Change-Id: I7a9605815186d1dda79085bffa4250ee7497a5ed
parent 0f616cf9
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -2605,12 +2605,10 @@ public class PhoneStatusBar extends BaseStatusBar {
            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)) {