Merge "Fix compat change CTS test flakiness" am: bb0db1d243
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635 Change-Id: I0b32b7631d7f9ceade3e170d53ba068db924e85f
This commit is contained in:
committed by
Automerger Merge Worker
commit
3d1cfa54d6
@@ -107,7 +107,10 @@ class PlatformCompatCommandNotInstalledTest {
|
||||
fun ParcelFileDescriptor.text() = FileReader(fileDescriptor).readText()
|
||||
|
||||
@After
|
||||
fun resetIdentity() = uiAutomation.dropShellPermissionIdentity()
|
||||
fun resetChangeIdAndIdentity() {
|
||||
command("am compat reset $TEST_CHANGE_ID $TEST_PKG")
|
||||
uiAutomation.dropShellPermissionIdentity()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun execute() {
|
||||
|
||||
Reference in New Issue
Block a user