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

Commit bbfbd1fb authored by Rana Mouawi's avatar Rana Mouawi
Browse files

Accept a URI for bugreport and screenshot paths to be forwarded to BugreportManager API.

This is limited to bugreports of type wear.

Bug: b/378481755
Test: Manually tested Shell can successfully create a BR and forward the result to WearServices
Flag: com.android.shell.flags.handle_bugreports_for_wear

Change-Id: Ic3cf472750389333f8befe9dc13adc187947aa90
parent 616f467b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -12,7 +12,10 @@ shell_srcs = [
    "src/**/*.java",
    ":dumpstate_aidl",
]
shell_static_libs = ["androidx.legacy_legacy-support-v4"]
shell_static_libs = [
    "androidx.legacy_legacy-support-v4",
    "wear_aconfig_declarations_flags_java_lib",
]

android_app {
    name: "Shell",
@@ -28,6 +31,7 @@ android_app {
    flags_packages: [
        "android.security.flags-aconfig",
        "android.permission.flags-aconfig",
        "wear_aconfig_declarations",
    ],
    platform_apis: true,
    certificate: "platform",
+3 −0
Original line number Diff line number Diff line
@@ -740,6 +740,9 @@
    <uses-permission android:name="android.permission.USE_CUSTOM_VIRTUAL_MACHINE" />
    <uses-permission android:name="android.permission.DEBUG_VIRTUAL_MACHINE" />

    <!-- Permission required to access bugreport and screenshot files created by wear.  -->
    <uses-permission android:name="com.google.wear.permission.ACCESS_BUG_REPORT_FILES" />

    <!-- Permission required to run GtsAssistantTestCases -->
    <uses-permission android:name="android.permission.MANAGE_VOICE_KEYPHRASES" />

+423 −145

File changed.

Preview size limit exceeded, changes collapsed.