Merge "Set pending intent for physical keyboard connection as immutable." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-27 18:27:16 +00:00
committed by Android (Google) Code Review

View File

@@ -1069,7 +1069,7 @@ public class InputManagerService extends IInputManager.Stub
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
final PendingIntent keyboardLayoutIntent = PendingIntent.getActivityAsUser(mContext, 0,
intent, 0, null, UserHandle.CURRENT);
intent, PendingIntent.FLAG_IMMUTABLE, null, UserHandle.CURRENT);
Resources r = mContext.getResources();
Notification notification =