Copy targetInputMethodUser in EditorInfo
This CL extends EditorInfo.createCopyInternal to also copy the targetInputMethodUser field to the newly created instance. Test: atest android.view.inputmethod.EditorInfoTest Fix: 236238539 Change-Id: Ic546e35978ad7ff5be824d34168088e68d3d9b36
This commit is contained in:
@@ -1016,6 +1016,7 @@ public class EditorInfo implements InputType, Parcelable {
|
||||
newEditorInfo.mInitialSurroundingText = mInitialSurroundingText;
|
||||
newEditorInfo.hintLocales = hintLocales;
|
||||
newEditorInfo.contentMimeTypes = ArrayUtils.cloneOrNull(contentMimeTypes);
|
||||
newEditorInfo.targetInputMethodUser = targetInputMethodUser;
|
||||
return newEditorInfo;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user