diff options
author | Wale Ogunwale <ogunwale@google.com> | 2016-01-27 09:12:31 -0800 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2016-01-29 07:44:33 -0800 |
commit | b1faf60b896afe235175354ffd90290ff93a54b4 (patch) | |
tree | cc016283d3a1355784e79fa710a2c6ae8b64cfbd /tests/permission | |
parent | 8ab1a37b767113357e77787d5fe2ba423d16ae3a (diff) |
Use resizeMode integer instead of resizeable boolean.
Changes activity manager and window manager to use resizeMode
as defined by ActivityInfo#resizeMode instead of a boolean.
Bug: 26774816
Change-Id: I8cef46d9fba6bfdd21df7da63ed5d5330ad03d4b
Diffstat (limited to 'tests/permission')
-rw-r--r-- | tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java index b78fd494e555..0286506cd3d8 100644 --- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java +++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java @@ -93,7 +93,7 @@ public class WindowManagerPermissionTests extends TestCase { try { mWm.addAppToken(0, null, 0, 0, 0, false, false, 0, 0, false, false, null, - Configuration.EMPTY, false, false); + Configuration.EMPTY, 0, false, false); fail("IWindowManager.addAppToken did not throw SecurityException as" + " expected"); } catch (SecurityException e) { @@ -103,7 +103,7 @@ public class WindowManagerPermissionTests extends TestCase { } try { - mWm.setAppTask(null, 0, INVALID_STACK_ID, null, null); + mWm.setAppTask(null, 0, INVALID_STACK_ID, null, null, 0, false); fail("IWindowManager.setAppGroupId did not throw SecurityException as" + " expected"); } catch (SecurityException e) { |