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

Commit adb6e79c authored by Yi Kong's avatar Yi Kong
Browse files

Add TRIGGER_SHELL_PROFCOLLECT_UPLOAD permission

This will be used to restrict only the system server shall be allowed to
trigger profcollect upload in shell.

Test: manual
Bug: 183487233
Bug: 194155753
Change-Id: I469fe5f9a0559dde8b887591cfe12c72c104f1d4
Merged-In: I469fe5f9a0559dde8b887591cfe12c72c104f1d4
(cherry picked from commit 9251bc51)
parent d22fc3ee
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3462,6 +3462,13 @@
    <permission android:name="android.permission.TRIGGER_SHELL_BUGREPORT"
        android:protectionLevel="signature" />

    <!-- Allows an application to trigger profcollect report upload via shell.
        <p>Not for use by third-party applications.
        @hide
    -->
    <permission android:name="android.permission.TRIGGER_SHELL_PROFCOLLECT_UPLOAD"
        android:protectionLevel="signature" />

    <!-- Allows an application to be the status bar.  Currently used only by SystemUI.apk
        @hide
        @SystemApi -->