diff options
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/widget/Editor.java | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/core/java/android/widget/Editor.java b/core/java/android/widget/Editor.java index bb9bd5297b52..c82177407b61 100644 --- a/core/java/android/widget/Editor.java +++ b/core/java/android/widget/Editor.java @@ -3531,8 +3531,8 @@ public class Editor { } } - @VisibleForTesting - public class SuggestionsPopupWindow extends PinnedPopupWindow implements OnItemClickListener { + private final class SuggestionsPopupWindow extends PinnedPopupWindow + implements OnItemClickListener { private static final int MAX_NUMBER_SUGGESTIONS = SuggestionSpan.SUGGESTIONS_MAX_SIZE; // Key of intent extras for inserting new word into user dictionary. @@ -3734,11 +3734,6 @@ public class Editor { } } - @VisibleForTesting - public ViewGroup getContentViewForTesting() { - return mContentView; - } - @Override public void show() { if (!(mTextView.getText() instanceof Editable)) return; @@ -6460,11 +6455,6 @@ public class Editor { return 0 <= start && start <= end && end <= text.length(); } - @VisibleForTesting - public SuggestionsPopupWindow getSuggestionsPopupWindowForTesting() { - return mSuggestionsPopupWindow; - } - /** * An InputFilter that monitors text input to maintain undo history. It does not modify the * text being typed (and hence always returns null from the filter() method). |
