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

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

Rename upload action to com.android.shell.action.PROFCOLLECT_UPLOAD

The new name better aligns with the component and permission names.

Follow up review comments on https://r.android.com/1784487

Bug: 183487233
Test: presubmit
Change-Id: Ibe3a3e51b0dc154ee3e43b27e561fd541b62cc54
parent 0849b350
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -646,7 +646,7 @@
            android:exported="true"
            android:permission="android.permission.TRIGGER_SHELL_PROFCOLLECT_UPLOAD" >
            <intent-filter>
                <action android:name="com.android.shell.action.UPLOAD_REPORT" />
                <action android:name="com.android.shell.action.PROFCOLLECT_UPLOAD" />
            </intent-filter>
        </receiver>

+1 −1
Original line number Diff line number Diff line
@@ -315,7 +315,7 @@ public final class ProfcollectForwardingService extends SystemService {
                // Upload the report
                Intent intent = new Intent()
                        .setPackage("com.android.shell")
                        .setAction("com.android.shell.action.UPLOAD_REPORT")
                        .setAction("com.android.shell.action.PROFCOLLECT_UPLOAD")
                        .putExtra("filename", reportName);
                context.sendBroadcast(intent);
            } catch (RemoteException e) {