Fix potential StrictMode crash with miniresolver

configureMiniResolverContent incorrectly calls directly
into safelyStartActivityInternal, which bypasses calls to
StrictMode#disableDeathOnFileUriExposure.

Change-Id: I1c66f659b7d5276caf892b15b942bee5c6f7ead7
This commit is contained in:
Mark Renouf
2022-04-06 14:10:21 -04:00
parent 756f7b4e91
commit d0978dbb67

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());
});