Merge "Fix potential StrictMode crash with miniresolver" into tm-dev

This commit is contained in:
Mark Renouf
2022-04-12 14:53:55 +00:00
committed by Android (Google) Code Review

View File

@@ -1480,7 +1480,7 @@ public class ResolverActivity extends Activity implements
if (intent != null) {
prepareIntentForCrossProfileLaunch(intent);
}
safelyStartActivityInternal(otherProfileResolveInfo,
safelyStartActivityAsUser(otherProfileResolveInfo,
mMultiProfilePagerAdapter.getInactiveListAdapter().mResolverListController
.getUserHandle());
});