From ee006a14b2b28de45420e1357ddbc2c111db5a59 Mon Sep 17 00:00:00 2001 From: Craig Mautner Date: Thu, 14 Feb 2013 10:33:42 -0800 Subject: [PATCH] Fix build. Change-Id: I6fb00530536e5203d89805141792289ed7c1d8e3 --- .../tests/WindowManagerPermissionTests.java | 32 +------------------ 1 file changed, 1 insertion(+), 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 746ac06223008..03871f63db201 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() {