Merge "Do not go home when status bar collapse is requested." into rvc-dev am: 2523db7c3f
Change-Id: I1b7832d48bf737a2db6f1dc12ad085d4ba930dc7
This commit is contained in:
@@ -74,11 +74,6 @@ public class TvStatusBar extends SystemUI implements CommandQueue.Callbacks {
|
|||||||
startSystemActivity(new Intent(ACTION_OPEN_TV_NOTIFICATIONS_PANEL));
|
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) {
|
private void startSystemActivity(Intent intent) {
|
||||||
PackageManager pm = mContext.getPackageManager();
|
PackageManager pm = mContext.getPackageManager();
|
||||||
ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_SYSTEM_ONLY);
|
ResolveInfo ri = pm.resolveActivity(intent, PackageManager.MATCH_SYSTEM_ONLY);
|
||||||
|
|||||||
Reference in New Issue
Block a user