Loading services/core/java/com/android/server/policy/PhoneWindowManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -931,7 +931,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { accessibilityShortcutActivated(); break; case MSG_BUGREPORT_TV: takeBugreport(); requestFullBugreport(); break; case MSG_ACCESSIBILITY_TV: if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false)) { Loading Loading @@ -4108,13 +4108,13 @@ public class PhoneWindowManager implements WindowManagerPolicy { return mAccessibilityTvScheduled; } private void takeBugreport() { private void requestFullBugreport() { if ("1".equals(SystemProperties.get("ro.debuggable")) || Settings.Global.getInt(mContext.getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) == 1) { try { ActivityManager.getService() .requestBugReport(ActivityManager.BUGREPORT_OPTION_INTERACTIVE); .requestBugReport(ActivityManager.BUGREPORT_OPTION_FULL); } catch (RemoteException e) { Slog.e(TAG, "Error taking bugreport", e); } Loading Loading
services/core/java/com/android/server/policy/PhoneWindowManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -931,7 +931,7 @@ public class PhoneWindowManager implements WindowManagerPolicy { accessibilityShortcutActivated(); break; case MSG_BUGREPORT_TV: takeBugreport(); requestFullBugreport(); break; case MSG_ACCESSIBILITY_TV: if (mAccessibilityShortcutController.isAccessibilityShortcutAvailable(false)) { Loading Loading @@ -4108,13 +4108,13 @@ public class PhoneWindowManager implements WindowManagerPolicy { return mAccessibilityTvScheduled; } private void takeBugreport() { private void requestFullBugreport() { if ("1".equals(SystemProperties.get("ro.debuggable")) || Settings.Global.getInt(mContext.getContentResolver(), Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) == 1) { try { ActivityManager.getService() .requestBugReport(ActivityManager.BUGREPORT_OPTION_INTERACTIVE); .requestBugReport(ActivityManager.BUGREPORT_OPTION_FULL); } catch (RemoteException e) { Slog.e(TAG, "Error taking bugreport", e); } Loading