summaryrefslogtreecommitdiff
path: root/tests/permission/src
diff options
context:
space:
mode:
author Issei Suzuki <issei@google.com> 2020-09-18 14:38:53 +0200
committer Issei Suzuki <issei@google.com> 2020-10-22 19:49:12 +0200
commitaa5118f23d159dd78d82585107e1a4f6f24581af (patch)
tree739447ada31ae33e70e956ee92789e37dd4a86dd /tests/permission/src
parentda253452f239d893964c732c2c951effd8893e6e (diff)
Replace old app transition type to new transition type (1/N)
- Rename TransitionType to TransitionOldType, and define a new TransitionType. - Calls prepareAppTransition which takes a new TransitionType when app transition related event happens. The TransitionOldType and related logic will eventually removed. Until migration finishes, we keep both. Bug: 166736358 Test: Pass existing tests, since no new logic is enabled. Change-Id: I984f68d5ecfae56fbfe7d91babbfddcf34378f6c
Diffstat (limited to 'tests/permission/src')
-rw-r--r--tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
index 737665fb97e4..aeb142b901d2 100644
--- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
+++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java
@@ -64,26 +64,6 @@ public class WindowManagerPermissionTests extends TestCase {
} catch (RemoteException e) {
fail("Unexpected remote exception");
}
-
- try {
- mWm.prepareAppTransition(0, false);
- fail("IWindowManager.prepareAppTransition did not throw SecurityException as"
- + " expected");
- } catch (SecurityException e) {
- // expected
- } catch (RemoteException e) {
- fail("Unexpected remote exception");
- }
-
- try {
- mWm.executeAppTransition();
- fail("IWindowManager.executeAppTransition did not throw SecurityException as"
- + " expected");
- } catch (SecurityException e) {
- // expected
- } catch (RemoteException e) {
- fail("Unexpected remote exception");
- }
}
@SmallTest