Merge "SettingsHomepageActivity: Get profile parent using UM.getProfileParent"
This commit is contained in:
@@ -184,7 +184,7 @@ public class SettingsHomepageActivity extends FragmentActivity implements
|
||||
.addFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT)
|
||||
.putExtra(EXTRA_USER_HANDLE, getUser());
|
||||
intent.removeFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
startActivityAsUser(intent, um.getPrimaryUser().getUserHandle());
|
||||
startActivityAsUser(intent, um.getProfileParent(userInfo.id).getUserHandle());
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user