Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee006a14 authored by Craig Mautner's avatar Craig Mautner
Browse files

Fix build.

Change-Id: I6fb00530536e5203d89805141792289ed7c1d8e3
parent fd869887
Loading
Loading
Loading
Loading
+1 −31
Original line number Diff line number Diff line
@@ -222,36 +222,6 @@ 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