Loading core/java/android/app/IActivityManager.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,7 @@ interface IActivityManager { void requestInteractiveBugReport(); void requestFullBugReport(); void requestRemoteBugReport(); boolean launchBugReportHandlerApp(); @UnsupportedAppUsage Intent getIntentForIntentSender(in IIntentSender sender); Loading core/java/android/provider/Settings.java +16 −0 Original line number Diff line number Diff line Loading @@ -8781,6 +8781,22 @@ public final class Settings { */ public static final String BUGREPORT_IN_POWER_MENU = "bugreport_in_power_menu"; /** * The package name for the custom bugreport handler app. This app must be whitelisted. * This is currently used only by Power Menu short press. * * @hide */ public static final String CUSTOM_BUGREPORT_HANDLER_APP = "custom_bugreport_handler_app"; /** * The user id for the custom bugreport handler app. This is currently used only by Power * Menu short press. * * @hide */ public static final String CUSTOM_BUGREPORT_HANDLER_USER = "custom_bugreport_handler_user"; /** * Whether ADB is enabled. */ Loading core/res/res/values/config.xml +6 −0 Original line number Diff line number Diff line Loading @@ -4179,4 +4179,10 @@ <string-array name="config_integrityRuleProviderPackages" translatable="false"> <!-- Add packages here --> </string-array> <!-- When true, enables the whitelisted app to handle bug reports from power menu short press. --> <bool name="config_bugReportHandlerEnabled">false</bool> <!-- The package name for the default bug report handler app from power menu short press. This app must be whitelisted. --> <string name="config_defaultBugReportHandlerApp" translatable="false"></string> </resources> core/res/res/values/symbols.xml +4 −0 Original line number Diff line number Diff line Loading @@ -3751,6 +3751,10 @@ <java-symbol type="bool" name="config_showBuiltinWirelessChargingAnim" /> <!-- For bug report handler --> <java-symbol type="bool" name="config_bugReportHandlerEnabled" /> <java-symbol type="string" name="config_defaultBugReportHandlerApp" /> <java-symbol type="string" name="usb_device_resolve_prompt_warn" /> <!-- For Accessibility system actions --> Loading packages/SettingsProvider/src/android/provider/settings/backup/GlobalSettings.java +2 −0 Original line number Diff line number Diff line Loading @@ -70,5 +70,7 @@ public class GlobalSettings { Settings.Global.CHARGING_VIBRATION_ENABLED, Settings.Global.AWARE_ALLOWED, Settings.Global.NOTIFICATION_BUBBLES, Settings.Global.CUSTOM_BUGREPORT_HANDLER_APP, Settings.Global.CUSTOM_BUGREPORT_HANDLER_USER, }; } Loading
core/java/android/app/IActivityManager.aidl +1 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,7 @@ interface IActivityManager { void requestInteractiveBugReport(); void requestFullBugReport(); void requestRemoteBugReport(); boolean launchBugReportHandlerApp(); @UnsupportedAppUsage Intent getIntentForIntentSender(in IIntentSender sender); Loading
core/java/android/provider/Settings.java +16 −0 Original line number Diff line number Diff line Loading @@ -8781,6 +8781,22 @@ public final class Settings { */ public static final String BUGREPORT_IN_POWER_MENU = "bugreport_in_power_menu"; /** * The package name for the custom bugreport handler app. This app must be whitelisted. * This is currently used only by Power Menu short press. * * @hide */ public static final String CUSTOM_BUGREPORT_HANDLER_APP = "custom_bugreport_handler_app"; /** * The user id for the custom bugreport handler app. This is currently used only by Power * Menu short press. * * @hide */ public static final String CUSTOM_BUGREPORT_HANDLER_USER = "custom_bugreport_handler_user"; /** * Whether ADB is enabled. */ Loading
core/res/res/values/config.xml +6 −0 Original line number Diff line number Diff line Loading @@ -4179,4 +4179,10 @@ <string-array name="config_integrityRuleProviderPackages" translatable="false"> <!-- Add packages here --> </string-array> <!-- When true, enables the whitelisted app to handle bug reports from power menu short press. --> <bool name="config_bugReportHandlerEnabled">false</bool> <!-- The package name for the default bug report handler app from power menu short press. This app must be whitelisted. --> <string name="config_defaultBugReportHandlerApp" translatable="false"></string> </resources>
core/res/res/values/symbols.xml +4 −0 Original line number Diff line number Diff line Loading @@ -3751,6 +3751,10 @@ <java-symbol type="bool" name="config_showBuiltinWirelessChargingAnim" /> <!-- For bug report handler --> <java-symbol type="bool" name="config_bugReportHandlerEnabled" /> <java-symbol type="string" name="config_defaultBugReportHandlerApp" /> <java-symbol type="string" name="usb_device_resolve_prompt_warn" /> <!-- For Accessibility system actions --> Loading
packages/SettingsProvider/src/android/provider/settings/backup/GlobalSettings.java +2 −0 Original line number Diff line number Diff line Loading @@ -70,5 +70,7 @@ public class GlobalSettings { Settings.Global.CHARGING_VIBRATION_ENABLED, Settings.Global.AWARE_ALLOWED, Settings.Global.NOTIFICATION_BUBBLES, Settings.Global.CUSTOM_BUGREPORT_HANDLER_APP, Settings.Global.CUSTOM_BUGREPORT_HANDLER_USER, }; }