Mark ACTION_REMOTE_BUGREPORT_DISPATCH broadcast as protected

Bug: 171495100
Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Change-Id: I04990ad120104d063f71a6c397a0ec601f73c3fd
This commit is contained in:
Rubin Xu
2020-10-27 12:01:04 +00:00
parent 69bca6a513
commit 1ca0e68d58
2 changed files with 2 additions and 1 deletions

View File

@@ -525,7 +525,7 @@ public class DevicePolicyManager {
* @hide
*/
public static final String ACTION_REMOTE_BUGREPORT_DISPATCH =
"android.intent.action.REMOTE_BUGREPORT_DISPATCH";
"com.android.server.action.REMOTE_BUGREPORT_DISPATCH";
/**
* Extra for shared bugreport's SHA-256 hash.

View File

@@ -349,6 +349,7 @@
<protected-broadcast android:name="com.android.server.WifiManager.action.START_PNO" />
<protected-broadcast android:name="com.android.server.WifiManager.action.DELAYED_DRIVER_STOP" />
<protected-broadcast android:name="com.android.server.WifiManager.action.DEVICE_IDLE" />
<protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_DISPATCH" />
<protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_SHARING_ACCEPTED" />
<protected-broadcast android:name="com.android.server.action.REMOTE_BUGREPORT_SHARING_DECLINED" />
<protected-broadcast android:name="com.android.internal.action.EUICC_FACTORY_RESET" />