AccessibilityManagerTest: Add FLAG_IMMUTABLE to PIs
Fixes: 176897320 Test: this Change-Id: I7fd3dacc493fd14be5ca495ec16002b2bb7b1163
This commit is contained in:
@@ -64,7 +64,8 @@ public class AccessibilityManagerTest {
|
||||
private static final String INTENT_ACTION = "TESTACTION";
|
||||
private static final String DESCRIPTION = "description";
|
||||
private static final PendingIntent TEST_PENDING_INTENT = PendingIntent.getBroadcast(
|
||||
InstrumentationRegistry.getTargetContext(), 0, new Intent(INTENT_ACTION), 0);
|
||||
InstrumentationRegistry.getTargetContext(), 0, new Intent(INTENT_ACTION),
|
||||
PendingIntent.FLAG_IMMUTABLE);
|
||||
private static final RemoteAction TEST_ACTION = new RemoteAction(
|
||||
Icon.createWithContentUri("content://test"),
|
||||
LABEL,
|
||||
|
||||
Reference in New Issue
Block a user