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

Commit 2523db7c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not go home when status bar collapse is requested." into rvc-dev

parents 66db87d0 eff035d9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -74,11 +74,6 @@ public class TvStatusBar extends SystemUI implements CommandQueue.Callbacks {
        startSystemActivity(new Intent(ACTION_OPEN_TV_NOTIFICATIONS_PANEL));
    }

    @Override
    public void animateCollapsePanels(int flags, boolean force) {
        startSystemActivity(new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME));
    }

    private void startSystemActivity(Intent intent) {
        PackageManager pm = mContext.getPackageManager();
        ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_SYSTEM_ONLY);