Remove activity from task if not set properly.
We do not start an activity in the case of a lock task mode violation. However, the activity is still associated with the task and therefore participates in future interactions, such as visibility checks. This changelist addresses this issue by removing the assocation in the case of failures. Change-Id: I77692465cb1082478528771fd6fd844fab62f697 Fixes: 35034729 Fixes: 35035258 Fixes: 34179495 Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
Loading
Please register or sign in to comment