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) {
|
if (intent != null) {
|
||||||
prepareIntentForCrossProfileLaunch(intent);
|
prepareIntentForCrossProfileLaunch(intent);
|
||||||
}
|
}
|
||||||
safelyStartActivityInternal(otherProfileResolveInfo,
|
safelyStartActivityAsUser(otherProfileResolveInfo,
|
||||||
mMultiProfilePagerAdapter.getInactiveListAdapter().mResolverListController
|
mMultiProfilePagerAdapter.getInactiveListAdapter().mResolverListController
|
||||||
.getUserHandle());
|
.getUserHandle());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user