Merge \\"Fix that work apps settings page crash after changing work profile to use separated lock\\" into nyc-dev am: 6437205648
am: 1e29965a85
Change-Id: Iad489061a9f91d17097f45ff10da50f9210733a1
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