summaryrefslogtreecommitdiff
path: root/tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
diff options
context:
space:
mode:
authorEvan Severson <evanseverson@google.com>2020-10-13 13:15:41 -0700
committerEvan Severson <evanseverson@google.com>2020-10-26 13:30:09 -0700
commit585e5c46d58b9abfa43aa5c5f2bef9f14e9aa48a (patch)
treebc31b1c0d65ce63f7803c2779f0490c9c65cbcd2 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java
parent96e4c40c7a84ea97bfb6c4da853a73d001920a0b (diff)
Do not allow uninstalling while an app is pinned
If an app is pinned we want to avoid ways to unpin without entering a set passcode. If the package of the base activity in the pinned activity stack is uninstalled then the device exits pinning mode so we want to restrict uninstalling this package. Bug: 135604684 Test: Pin test app, test app tries to uninstall itself Pin test app, `adb uninstall` Pin test app, test app launches second test app, assert that second test app can be uninstalled but base test app can't Change-Id: I32ee438e9dd9e245bed6e6a9f4efd0abbb70de1f
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions