Merge "Fix build."

This commit is contained in:
Craig Mautner
2013-02-14 18:36:10 +00:00
committed by Android (Google) Code Review

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