Loading services/core/java/com/android/server/policy/PhoneWindowManager.java +6 −2 Original line number Diff line number Diff line Loading @@ -3621,7 +3621,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { if (mEnableBugReportKeyboardShortcut && firstDown && event.isMetaPressed() && event.isCtrlPressed()) { try { if (!mActivityManagerService.launchBugReportHandlerApp()) { mActivityManagerService.requestInteractiveBugReport(); } } catch (RemoteException e) { Slog.d(TAG, "Error taking bugreport", e); } Loading Loading @@ -4117,7 +4119,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { case KeyGestureEvent.KEY_GESTURE_TYPE_TRIGGER_BUG_REPORT: if (complete && mEnableBugReportKeyboardShortcut) { try { if (!mActivityManagerService.launchBugReportHandlerApp()) { mActivityManagerService.requestInteractiveBugReport(); } } catch (RemoteException e) { Slog.d(TAG, "Error taking bugreport", e); } Loading services/tests/wmtests/src/com/android/server/policy/TestPhoneWindowManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -822,9 +822,9 @@ class TestPhoneWindowManager { void assertTakeBugreport(boolean wasCalled) throws RemoteException { mTestLooper.dispatchAll(); if (wasCalled) { verify(mActivityManagerService).requestInteractiveBugReport(); verify(mActivityManagerService).launchBugReportHandlerApp(); } else { verify(mActivityManagerService, never()).requestInteractiveBugReport(); verify(mActivityManagerService, never()).launchBugReportHandlerApp(); } } Loading Loading
services/core/java/com/android/server/policy/PhoneWindowManager.java +6 −2 Original line number Diff line number Diff line Loading @@ -3621,7 +3621,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { if (mEnableBugReportKeyboardShortcut && firstDown && event.isMetaPressed() && event.isCtrlPressed()) { try { if (!mActivityManagerService.launchBugReportHandlerApp()) { mActivityManagerService.requestInteractiveBugReport(); } } catch (RemoteException e) { Slog.d(TAG, "Error taking bugreport", e); } Loading Loading @@ -4117,7 +4119,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { case KeyGestureEvent.KEY_GESTURE_TYPE_TRIGGER_BUG_REPORT: if (complete && mEnableBugReportKeyboardShortcut) { try { if (!mActivityManagerService.launchBugReportHandlerApp()) { mActivityManagerService.requestInteractiveBugReport(); } } catch (RemoteException e) { Slog.d(TAG, "Error taking bugreport", e); } Loading
services/tests/wmtests/src/com/android/server/policy/TestPhoneWindowManager.java +2 −2 Original line number Diff line number Diff line Loading @@ -822,9 +822,9 @@ class TestPhoneWindowManager { void assertTakeBugreport(boolean wasCalled) throws RemoteException { mTestLooper.dispatchAll(); if (wasCalled) { verify(mActivityManagerService).requestInteractiveBugReport(); verify(mActivityManagerService).launchBugReportHandlerApp(); } else { verify(mActivityManagerService, never()).requestInteractiveBugReport(); verify(mActivityManagerService, never()).launchBugReportHandlerApp(); } } Loading