Loading core/java/com/android/internal/app/ResolverActivity.java +4 −1 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ import java.util.List; import java.util.Objects; import java.util.Set; import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK; import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR; import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; Loading Loading @@ -507,7 +508,9 @@ public class ResolverActivity extends Activity { mPackageMonitor.unregister(); mRegistered = false; } if ((getIntent().getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) != 0 && !isVoiceInteraction()) { final Intent intent = getIntent(); if ((intent.getFlags() & FLAG_ACTIVITY_NEW_TASK) != 0 && !isVoiceInteraction() && !mResolvingHome) { // This resolver is in the unusual situation where it has been // launched at the top of a new task. We don't let it be added // to the recent tasks shown to the user, and we need to make sure Loading Loading
core/java/com/android/internal/app/ResolverActivity.java +4 −1 Original line number Diff line number Diff line Loading @@ -76,6 +76,7 @@ import java.util.List; import java.util.Objects; import java.util.Set; import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK; import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR; import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; Loading Loading @@ -507,7 +508,9 @@ public class ResolverActivity extends Activity { mPackageMonitor.unregister(); mRegistered = false; } if ((getIntent().getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) != 0 && !isVoiceInteraction()) { final Intent intent = getIntent(); if ((intent.getFlags() & FLAG_ACTIVITY_NEW_TASK) != 0 && !isVoiceInteraction() && !mResolvingHome) { // This resolver is in the unusual situation where it has been // launched at the top of a new task. We don't let it be added // to the recent tasks shown to the user, and we need to make sure Loading