diff options
| author | 2013-02-14 10:33:42 -0800 | |
|---|---|---|
| committer | 2013-02-14 10:35:32 -0800 | |
| commit | ee006a14b2b28de45420e1357ddbc2c111db5a59 (patch) | |
| tree | 3f388804e2dfe96fce6e1803de2dd22f4e2c358c /tests/permission/src | |
| parent | fd869887c3477bb2699b72ea752a8466602ea637 (diff) | |
Fix build.
Change-Id: I6fb00530536e5203d89805141792289ed7c1d8e3
Diffstat (limited to 'tests/permission/src')
| -rw-r--r-- | tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java | 32 |
1 files changed, 1 insertions, 31 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 746ac0622300..03871f63db20 100644 --- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java +++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java @@ -222,37 +222,7 @@ public class WindowManagerPermissionTests extends TestCase { } catch (RemoteException e) { fail("Unexpected remote exception"); } - - try { - mWm.moveAppToken(0, null); - fail("IWindowManager.moveAppToken did not throw SecurityException as" - + " expected"); - } catch (SecurityException e) { - // expected - } catch (RemoteException e) { - fail("Unexpected remote exception"); - } - - try { - mWm.moveAppTokensToTop(null); - fail("IWindowManager.moveAppTokensToTop did not throw SecurityException as" - + " expected"); - } catch (SecurityException e) { - // expected - } catch (RemoteException e) { - fail("Unexpected remote exception"); - } - - try { - mWm.moveAppTokensToBottom(null); - fail("IWindowManager.moveAppTokensToBottom did not throw SecurityException as" - + " expected"); - } catch (SecurityException e) { - // expected - } catch (RemoteException e) { - fail("Unexpected remote exception"); - } - } + } @SmallTest public void testDISABLE_KEYGUARD() { |