Merge "Fix build."
This commit is contained in:
@@ -423,7 +423,7 @@ public class WindowManagerPermissionTests extends TestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
mWm.freezeRotation();
|
mWm.freezeRotation(-1);
|
||||||
mWm.getSwitchState(0);
|
mWm.getSwitchState(0);
|
||||||
fail("IWindowManager.freezeRotation did not throw SecurityException as"
|
fail("IWindowManager.freezeRotation did not throw SecurityException as"
|
||||||
+ " expected");
|
+ " expected");
|
||||||
|
|||||||
Reference in New Issue
Block a user