Loading tests/PlatformCompatGating/src/com/android/tests/gating/PlatformCompatCommandNotInstalledTest.kt +4 −1 Original line number Diff line number Diff line Loading @@ -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() { Loading Loading
tests/PlatformCompatGating/src/com/android/tests/gating/PlatformCompatCommandNotInstalledTest.kt +4 −1 Original line number Diff line number Diff line Loading @@ -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() { Loading