commit | f1f4097f20f2d87b715519694b35cac19451d2b4 | [log] [tgz] |
---|---|---|
author | ot904699 <ot_fuqiang.xie@mediatek.com> | Sat Apr 08 15:15:05 2023 +0800 |
committer | Chaohui Wang <chaohuiw@google.com> | Wed Apr 19 03:21:53 2023 +0000 |
tree | 1c40d1e9d4418dc297c228564b0251be206c1814 | |
parent | 5c8d1332c797679c646b1710a45cfe8f068646a6 [diff] |
Fix uninstall button can't click problem Install CtsVerifier.apk and CtsEmptyDeviceAdmin.apk. When CtsEmptyDeviceAdmin is active device administrator, “Uninstall” button can’t click, we can’t uninstall the apk. Compared with Android T, the ability to uninstall Active admin's apk is disabled by default on Android U. Make this cts test pass after modifying the setup code Bug: 277545241 Test: manually 1. Enter the CtsVerifier apk 2. Click “Device Admin Uninstall Test” 3. Click “ENABLE ADMIN”, then click “Activate this device admin app” 4. Click “LAUNCH SETTINGS” (cherry picked from https://partner-android-review.googlesource.com/q/commit:67ecb5aef52d18332402d88a418aa4b87d047b87) Merged-In: I200cfe56a3529e9c6ee5eebf4b2606237608a4b2 Change-Id: I200cfe56a3529e9c6ee5eebf4b2606237608a4b2