diff options
author | Tiger Huang <tigerhuang@google.com> | 2018-07-30 20:19:51 +0800 |
---|---|---|
committer | Tiger Huang <tigerhuang@google.com> | 2018-10-04 01:05:49 +0800 |
commit | 1e5b10a21780e09d9f7c762edffbdee4565af52c (patch) | |
tree | f8915efa5546a5ed71524e24b8d4d463cc99ca8e /tests/permission/src | |
parent | 4af85a3e826cceb647216b755056972f49632ba3 (diff) |
Track focus changes on external displays (2/4)
Let each DisplayContent has its own focused window and focused app.
This change also moves the last tapped display to the top.
Test: atest ActivityManagerMultiDisplayTests
ActivityStackSupervisorTests
ActivityStackTests
CtsWindowManagerDeviceTestCases
DisplayContentTests
PointerCaptureTest
Bug: 111361570
Change-Id: I776cabaeaf41ff4240f504fb1430d3e40892023d
Diffstat (limited to 'tests/permission/src')
-rw-r--r-- | tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java | 10 |
1 files changed, 0 insertions, 10 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 9c4da1f72e38..14312cf84693 100644 --- a/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java +++ b/tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java @@ -83,16 +83,6 @@ public class WindowManagerPermissionTests extends TestCase { } try { - mWm.setFocusedApp(null, false); - fail("IWindowManager.setFocusedApp did not throw SecurityException as" - + " expected"); - } catch (SecurityException e) { - // expected - } catch (RemoteException e) { - fail("Unexpected remote exception"); - } - - try { mWm.prepareAppTransition(0, false); fail("IWindowManager.prepareAppTransition did not throw SecurityException as" + " expected"); |