From 1e5b10a21780e09d9f7c762edffbdee4565af52c Mon Sep 17 00:00:00 2001 From: Tiger Huang Date: Mon, 30 Jul 2018 20:19:51 +0800 Subject: 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 --- .../permission/tests/WindowManagerPermissionTests.java | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/permission/src') 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 @@ -82,16 +82,6 @@ public class WindowManagerPermissionTests extends TestCase { fail("Unexpected remote exception"); } - 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" -- cgit v1.2.3-59-g8ed1b