Fix build.

Change-Id: I6fb00530536e5203d89805141792289ed7c1d8e3
This commit is contained in:
Craig Mautner
2013-02-14 10:33:42 -08:00
parent fd869887c3
commit ee006a14b2

View File

@@ -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() {