Merge "Rename upload action to com.android.shell.action.PROFCOLLECT_UPLOAD" am: 473d29e6b1 am: 712e696cb4 am: ccb4fc52aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1884169 Change-Id: Id770b217565eeebabf820cb960b1848313567a59
This commit is contained in:
@@ -646,7 +646,7 @@
|
|||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:permission="android.permission.TRIGGER_SHELL_PROFCOLLECT_UPLOAD" >
|
android:permission="android.permission.TRIGGER_SHELL_PROFCOLLECT_UPLOAD" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.android.shell.action.UPLOAD_REPORT" />
|
<action android:name="com.android.shell.action.PROFCOLLECT_UPLOAD" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
|
|||||||
@@ -315,7 +315,7 @@ public final class ProfcollectForwardingService extends SystemService {
|
|||||||
// Upload the report
|
// Upload the report
|
||||||
Intent intent = new Intent()
|
Intent intent = new Intent()
|
||||||
.setPackage("com.android.shell")
|
.setPackage("com.android.shell")
|
||||||
.setAction("com.android.shell.action.UPLOAD_REPORT")
|
.setAction("com.android.shell.action.PROFCOLLECT_UPLOAD")
|
||||||
.putExtra("filename", reportName);
|
.putExtra("filename", reportName);
|
||||||
context.sendBroadcast(intent);
|
context.sendBroadcast(intent);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user