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:
@@ -1480,7 +1480,7 @@ public class ResolverActivity extends Activity implements
|
||||
if (intent != null) {
|
||||
prepareIntentForCrossProfileLaunch(intent);
|
||||
}
|
||||
safelyStartActivityInternal(otherProfileResolveInfo,
|
||||
safelyStartActivityAsUser(otherProfileResolveInfo,
|
||||
mMultiProfilePagerAdapter.getInactiveListAdapter().mResolverListController
|
||||
.getUserHandle());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user