Merge \"Fix that work apps settings page crash after changing work profile to use separated lock\" into nyc-dev
am: 6437205648
Change-Id: If23d7b5ab2c79874714a9f6a67625b09e7f83699
This commit is contained in:
@@ -186,9 +186,13 @@ class ActivityStartInterceptor {
|
||||
if (mActivityOptions == null) {
|
||||
mActivityOptions = ActivityOptions.makeBasic();
|
||||
}
|
||||
// Showing credential confirmation activity in home task to avoid stopping multi-windowed
|
||||
// mode after showing the full-screen credential confirmation activity.
|
||||
mActivityOptions.setLaunchTaskId(mSupervisor.getHomeActivity().task.taskId);
|
||||
|
||||
ActivityRecord homeActivityRecord = mSupervisor.getHomeActivity();
|
||||
if (homeActivityRecord != null && homeActivityRecord.task != null) {
|
||||
// Showing credential confirmation activity in home task to avoid stopping multi-windowed
|
||||
// mode after showing the full-screen credential confirmation activity.
|
||||
mActivityOptions.setLaunchTaskId(homeActivityRecord.task.taskId);
|
||||
}
|
||||
|
||||
final UserInfo parent = mUserManager.getProfileParent(mUserId);
|
||||
mRInfo = mSupervisor.resolveIntent(mIntent, mResolvedType, parent.id);
|
||||
|
||||
Reference in New Issue
Block a user