Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 311ed69

Browse files
committed
Rename variable
1 parent 8a6d128 commit 311ed69

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

shell/platform/android/io/flutter/plugin/editing/InputConnectionAdaptor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class InputConnectionAdaptor extends BaseInputConnection {
4646
private int mPreviousComposingStart;
4747
private int mPreviousComposingEnd;
4848
private String mPreviousText;
49-
private boolean repeatCheckNeeded = false;
49+
private boolean mRepeatCheckNeeded = false;
5050

5151
// Used to determine if Samsung-specific hacks should be applied.
5252
private final boolean isSamsung;
@@ -96,7 +96,7 @@ private void updateEditingState() {
9696
// occurred to mark this as dirty. This prevents duplicate remote updates of
9797
// the same data, which can break formatters that change the length of the
9898
// contents.
99-
if (repeatCheckNeeded
99+
if (mRepeatCheckNeeded
100100
&& selectionStart == mPreviousSelectionStart
101101
&& selectionEnd == mPreviousSelectionEnd
102102
&& composingStart == mPreviousComposingStart
@@ -110,7 +110,7 @@ private void updateEditingState() {
110110
textInputChannel.updateEditingState(
111111
mClient, text, selectionStart, selectionEnd, composingStart, composingEnd);
112112

113-
repeatCheckNeeded = true;
113+
mRepeatCheckNeeded = true;
114114
mPreviousSelectionStart = selectionStart;
115115
mPreviousSelectionEnd = selectionEnd;
116116
mPreviousComposingStart = composingStart;
@@ -124,7 +124,7 @@ private void updateEditingState() {
124124
// to the framework.
125125
public void markDirty() {
126126
// Disable updateEditngState's repeat-update check
127-
repeatCheckNeeded = false;
127+
mRepeatCheckNeeded = false;
128128
}
129129

130130
@Override

0 commit comments

Comments
 (0)