Merge "Rename upload action to com.android.shell.action.PROFCOLLECT_UPLOAD"
diff --git a/packages/Shell/AndroidManifest.xml b/packages/Shell/AndroidManifest.xml
index 6c4fa96..76b0b38 100644
--- a/packages/Shell/AndroidManifest.xml
+++ b/packages/Shell/AndroidManifest.xml
@@ -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>
diff --git a/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java b/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java
index af65a2a..4fb801e 100644
--- a/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java
+++ b/services/profcollect/src/com/android/server/profcollect/ProfcollectForwardingService.java
@@ -315,7 +315,7 @@
// 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) {