Merge "Also call Intent#fixUris for the intent resolver case" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
31a2e1ba46
@@ -3043,10 +3043,6 @@ public class ChooserActivity extends ResolverActivity implements
|
|||||||
currentRootAdapter.updateDirectShareExpansion();
|
currentRootAdapter.updateDirectShareExpansion();
|
||||||
}
|
}
|
||||||
|
|
||||||
void prepareIntentForCrossProfileLaunch(Intent intent) {
|
|
||||||
intent.fixUris(UserHandle.myUserId());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
|
protected WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
|
||||||
if (shouldShowTabs()) {
|
if (shouldShowTabs()) {
|
||||||
|
|||||||
@@ -1250,7 +1250,9 @@ public class ResolverActivity extends Activity implements
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void prepareIntentForCrossProfileLaunch(Intent intent) {}
|
private void prepareIntentForCrossProfileLaunch(Intent intent) {
|
||||||
|
intent.fixUris(UserHandle.myUserId());
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isLaunchingTargetInOtherProfile() {
|
private boolean isLaunchingTargetInOtherProfile() {
|
||||||
return mMultiProfilePagerAdapter.getCurrentUserHandle().getIdentifier()
|
return mMultiProfilePagerAdapter.getCurrentUserHandle().getIdentifier()
|
||||||
|
|||||||
Reference in New Issue
Block a user