Loading tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java +1 −31 Original line number Original line Diff line number Diff line Loading @@ -222,36 +222,6 @@ public class WindowManagerPermissionTests extends TestCase { } catch (RemoteException e) { } catch (RemoteException e) { fail("Unexpected remote exception"); 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 @SmallTest Loading Loading
tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java +1 −31 Original line number Original line Diff line number Diff line Loading @@ -222,36 +222,6 @@ public class WindowManagerPermissionTests extends TestCase { } catch (RemoteException e) { } catch (RemoteException e) { fail("Unexpected remote exception"); 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 @SmallTest Loading