Merge "Show confirm credential activity on parent when unpausing work." into udc-dev

This commit is contained in:
Oli Lan
2023-03-14 14:43:11 +00:00
committed by Android (Google) Code Review

View File

@@ -1545,7 +1545,8 @@ public class UserManagerService extends IUserManager.Stub {
// intentSender
unlockIntent.putExtra(Intent.EXTRA_INTENT, pendingIntent.getIntentSender());
unlockIntent.setFlags(FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
mContext.startActivity(unlockIntent);
mContext.startActivityAsUser(
unlockIntent, UserHandle.of(getProfileParentIdUnchecked(userId)));
}
@Override