Merge "[RESTRICT AUTOMERGE] Make MultiClient IMMS PendingIntent IMMUTABLE" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-11-17 02:22:22 +00:00
committed by Android (Google) Code Review

View File

@@ -917,7 +917,7 @@ public final class MultiClientInputMethodManagerService {
.putExtra(Intent.EXTRA_CLIENT_INTENT, PendingIntent.getActivity(
context, 0,
new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS),
PendingIntent.FLAG_MUTABLE));
PendingIntent.FLAG_IMMUTABLE));
// Note: Instead of re-dispatching callback from the main thread to the worker thread
// where OnWorkerThreadCallback is running, we pass the Handler object here so that