Merge "Fix compat change CTS test flakiness" am: bb0db1d243 am: 3d1cfa54d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635 Change-Id: I611aae09d53d4b81b00f91a0edf08c9c83fa12b8
This commit is contained in:
committed by
Automerger Merge Worker
commit
1fe983edb7
@@ -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