Always set the task auth no matter the relinquished attribute
1d68970400, Skip to set the task auth with relinquished attribute
which result in lock task mode broken. The CL set the lock task
auth no matter if set the relinquished property.
Bug: 199032412
Test: atest LockTaskControllerTest
Change-Id: If7b0b6d0c502f3092d7e44515d1a2f733564a554
This commit is contained in:
@@ -1001,7 +1001,6 @@ class Task extends TaskFragment {
|
||||
mCallingPackage = r.launchedFromPackage;
|
||||
mCallingFeatureId = r.launchedFromFeatureId;
|
||||
setIntent(intent != null ? intent : r.intent, info != null ? info : r.info);
|
||||
return;
|
||||
}
|
||||
setLockTaskAuth(r);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user