Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf87cafa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Bug report handler app via Bug Report Shortcut"

parents 0bab2ddd c40f578d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -387,6 +387,7 @@ interface IActivityManager {
    void requestInteractiveBugReport();
    void requestFullBugReport();
    void requestRemoteBugReport();
    boolean launchBugReportHandlerApp();

    @UnsupportedAppUsage
    Intent getIntentForIntentSender(in IIntentSender sender);
+16 −0
Original line number Diff line number Diff line
@@ -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.
         */
+6 −0
Original line number Diff line number Diff line
@@ -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>
+4 −0
Original line number Diff line number Diff line
@@ -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 -->
+2 −0
Original line number Diff line number Diff line
@@ -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