Merge "Fix compat change CTS test flakiness"
This commit is contained in:
@@ -107,7 +107,10 @@ class PlatformCompatCommandNotInstalledTest {
|
|||||||
fun ParcelFileDescriptor.text() = FileReader(fileDescriptor).readText()
|
fun ParcelFileDescriptor.text() = FileReader(fileDescriptor).readText()
|
||||||
|
|
||||||
@After
|
@After
|
||||||
fun resetIdentity() = uiAutomation.dropShellPermissionIdentity()
|
fun resetChangeIdAndIdentity() {
|
||||||
|
command("am compat reset $TEST_CHANGE_ID $TEST_PKG")
|
||||||
|
uiAutomation.dropShellPermissionIdentity()
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun execute() {
|
fun execute() {
|
||||||
|
|||||||
Reference in New Issue
Block a user