Merge "Fix sharing files cross-profile from sharesheet and intent resolver"

This commit is contained in:
TreeHugger Robot
2020-01-24 17:26:24 +00:00
committed by Android (Google) Code Review

View File

@@ -1101,6 +1101,9 @@ public class ResolverActivity extends Activity implements
}
if (target != null) {
if (intent != null) {
intent.fixUris(UserHandle.myUserId());
}
safelyStartActivity(target);
// Rely on the ActivityManager to pop up a dialog regarding app suspension