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

This commit is contained in:
TreeHugger Robot
2020-02-28 12:03:58 +00:00
committed by Android (Google) Code Review

View File

@@ -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);