Files
android_packages_modules_Co…/staticlibs/testutils/devicetests/com/android
Lorenzo Colitti 05eb2d093c Refuse to adopt shell permissions if they were already adopted.
This does not work because when the permissions are dropped, all
previously-adopted permissions will be dropped as well. Attempts
to do so will likely result in hard-to-understand test failures.

On S+, where we can detect this, fail with a clear error message.

Test: treehugger
Bug: 225092753
Change-Id: I1587ab77f885c595f0b9168c6739303c6227218e
2022-06-17 15:13:04 +09:00
..