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

Commit 66f1a54d authored by Sid Soundararajan's avatar Sid Soundararajan Committed by android-build-merger
Browse files

Merge "Add an extra to HOME intent to indicate it comes form recents." into...

Merge "Add an extra to HOME intent to indicate it comes form recents." into nyc-dev am: ea98d35d am: a41fcf54
am: 115bcb27

* commit '115bcb27':
  Add an extra to HOME intent to indicate it comes form recents.

Change-Id: I4178eaf339f44366387a5d1ad68077a3b0080a89
parents d3abc925 115bcb27
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -73,6 +73,8 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener {
    private final static boolean DEBUG = false;

    public final static int EVENT_BUS_PRIORITY = Recents.EVENT_BUS_PRIORITY + 1;
    private final static String RECENTS_HOME_INTENT_EXTRA =
            "com.android.systemui.recents.tv.RecentsTvActivity.RECENTS_HOME_INTENT_EXTRA";

    private boolean mFinishedOnStartup;
    private RecentsPackageMonitor mPackageMonitor;
@@ -320,6 +322,7 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener {
        homeIntent.addCategory(Intent.CATEGORY_HOME);
        homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
                Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
        homeIntent.putExtra(RECENTS_HOME_INTENT_EXTRA, true);
        mFinishLaunchHomeRunnable = new FinishRecentsRunnable(homeIntent);

        mPipManager.addListener(mPipListener);