The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 1 | /* |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 2 | * Copyright (C) 2007 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 10 | * Unless required by applicable law or agreed to in writing, software |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | package android.view.inputmethod; |
| 18 | |
Yohei Yukawa | e77386e | 2018-01-23 10:39:32 -0800 | [diff] [blame] | 19 | import android.annotation.NonNull; |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 20 | import android.os.Bundle; |
Yohei Yukawa | 612cce9 | 2016-02-11 17:47:33 -0800 | [diff] [blame] | 21 | import android.os.Handler; |
Yohei Yukawa | e77386e | 2018-01-23 10:39:32 -0800 | [diff] [blame] | 22 | import android.os.LocaleList; |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 23 | import android.view.KeyEvent; |
| 24 | |
| 25 | /** |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 26 | * <p>Wrapper class for proxying calls to another InputConnection. Subclass and have fun! |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 27 | */ |
| 28 | public class InputConnectionWrapper implements InputConnection { |
Dianne Hackborn | 51bf077 | 2009-03-24 19:11:41 -0700 | [diff] [blame] | 29 | private InputConnection mTarget; |
| 30 | final boolean mMutable; |
Yohei Yukawa | 19a80a1 | 2016-03-14 22:57:37 -0700 | [diff] [blame] | 31 | @InputConnectionInspector.MissingMethodFlags |
| 32 | private int mMissingMethodFlags; |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 33 | |
| 34 | /** |
| 35 | * Initializes a wrapper. |
| 36 | * |
| 37 | * <p><b>Caveat:</b> Although the system can accept {@code (InputConnection) null} in some |
| 38 | * places, you cannot emulate such a behavior by non-null {@link InputConnectionWrapper} that |
| 39 | * has {@code null} in {@code target}.</p> |
| 40 | * @param target the {@link InputConnection} to be proxied. |
| 41 | * @param mutable set {@code true} to protect this object from being reconfigured to target |
| 42 | * another {@link InputConnection}. Note that this is ignored while the target is {@code null}. |
| 43 | */ |
Yohei Yukawa | abc4b8f | 2016-02-29 13:35:59 -0800 | [diff] [blame] | 44 | public InputConnectionWrapper(InputConnection target, boolean mutable) { |
Dianne Hackborn | 51bf077 | 2009-03-24 19:11:41 -0700 | [diff] [blame] | 45 | mMutable = mutable; |
| 46 | mTarget = target; |
Yohei Yukawa | 19a80a1 | 2016-03-14 22:57:37 -0700 | [diff] [blame] | 47 | mMissingMethodFlags = InputConnectionInspector.getMissingMethodFlags(target); |
Dianne Hackborn | 51bf077 | 2009-03-24 19:11:41 -0700 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Change the target of the input connection. |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 52 | * |
| 53 | * <p><b>Caveat:</b> Although the system can accept {@code (InputConnection) null} in some |
| 54 | * places, you cannot emulate such a behavior by non-null {@link InputConnectionWrapper} that |
| 55 | * has {@code null} in {@code target}.</p> |
| 56 | * @param target the {@link InputConnection} to be proxied. |
| 57 | * @throws SecurityException when this wrapper has non-null target and is immutable. |
Dianne Hackborn | 51bf077 | 2009-03-24 19:11:41 -0700 | [diff] [blame] | 58 | */ |
Yohei Yukawa | abc4b8f | 2016-02-29 13:35:59 -0800 | [diff] [blame] | 59 | public void setTarget(InputConnection target) { |
Dianne Hackborn | 51bf077 | 2009-03-24 19:11:41 -0700 | [diff] [blame] | 60 | if (mTarget != null && !mMutable) { |
| 61 | throw new SecurityException("not mutable"); |
| 62 | } |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 63 | mTarget = target; |
Yohei Yukawa | 19a80a1 | 2016-03-14 22:57:37 -0700 | [diff] [blame] | 64 | mMissingMethodFlags = InputConnectionInspector.getMissingMethodFlags(target); |
| 65 | } |
| 66 | |
| 67 | /** |
| 68 | * @hide |
| 69 | */ |
| 70 | @InputConnectionInspector.MissingMethodFlags |
| 71 | public int getMissingMethodFlags() { |
| 72 | return mMissingMethodFlags; |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 73 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 74 | |
| 75 | /** |
| 76 | * {@inheritDoc} |
| 77 | * @throws NullPointerException if the target is {@code null}. |
| 78 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 79 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 80 | public CharSequence getTextBeforeCursor(int n, int flags) { |
| 81 | return mTarget.getTextBeforeCursor(n, flags); |
| 82 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 83 | |
| 84 | /** |
| 85 | * {@inheritDoc} |
| 86 | * @throws NullPointerException if the target is {@code null}. |
| 87 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 88 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 89 | public CharSequence getTextAfterCursor(int n, int flags) { |
| 90 | return mTarget.getTextAfterCursor(n, flags); |
| 91 | } |
| 92 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 93 | /** |
| 94 | * {@inheritDoc} |
| 95 | * @throws NullPointerException if the target is {@code null}. |
| 96 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 97 | @Override |
Amith Yamasani | a90b7f0 | 2010-08-25 18:27:20 -0700 | [diff] [blame] | 98 | public CharSequence getSelectedText(int flags) { |
| 99 | return mTarget.getSelectedText(flags); |
| 100 | } |
| 101 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 102 | /** |
| 103 | * {@inheritDoc} |
| 104 | * @throws NullPointerException if the target is {@code null}. |
| 105 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 106 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 107 | public int getCursorCapsMode(int reqModes) { |
| 108 | return mTarget.getCursorCapsMode(reqModes); |
| 109 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 110 | |
| 111 | /** |
| 112 | * {@inheritDoc} |
| 113 | * @throws NullPointerException if the target is {@code null}. |
| 114 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 115 | @Override |
satok | e3797a1 | 2011-03-22 06:34:48 +0900 | [diff] [blame] | 116 | public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 117 | return mTarget.getExtractedText(request, flags); |
| 118 | } |
| 119 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 120 | /** |
| 121 | * {@inheritDoc} |
| 122 | * @throws NullPointerException if the target is {@code null}. |
| 123 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 124 | @Override |
Yohei Yukawa | c89e22a | 2016-01-13 22:48:14 -0800 | [diff] [blame] | 125 | public boolean deleteSurroundingTextInCodePoints(int beforeLength, int afterLength) { |
| 126 | return mTarget.deleteSurroundingTextInCodePoints(beforeLength, afterLength); |
| 127 | } |
| 128 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 129 | /** |
| 130 | * {@inheritDoc} |
| 131 | * @throws NullPointerException if the target is {@code null}. |
| 132 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 133 | @Override |
Fabrice Di Meglio | 0c95dd3 | 2012-01-23 15:06:42 -0800 | [diff] [blame] | 134 | public boolean deleteSurroundingText(int beforeLength, int afterLength) { |
| 135 | return mTarget.deleteSurroundingText(beforeLength, afterLength); |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 136 | } |
| 137 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 138 | /** |
| 139 | * {@inheritDoc} |
| 140 | * @throws NullPointerException if the target is {@code null}. |
| 141 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 142 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 143 | public boolean setComposingText(CharSequence text, int newCursorPosition) { |
| 144 | return mTarget.setComposingText(text, newCursorPosition); |
| 145 | } |
| 146 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 147 | /** |
| 148 | * {@inheritDoc} |
| 149 | * @throws NullPointerException if the target is {@code null}. |
| 150 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 151 | @Override |
Amith Yamasani | a90b7f0 | 2010-08-25 18:27:20 -0700 | [diff] [blame] | 152 | public boolean setComposingRegion(int start, int end) { |
| 153 | return mTarget.setComposingRegion(start, end); |
| 154 | } |
| 155 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 156 | /** |
| 157 | * {@inheritDoc} |
| 158 | * @throws NullPointerException if the target is {@code null}. |
| 159 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 160 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 161 | public boolean finishComposingText() { |
| 162 | return mTarget.finishComposingText(); |
| 163 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 164 | |
| 165 | /** |
| 166 | * {@inheritDoc} |
| 167 | * @throws NullPointerException if the target is {@code null}. |
| 168 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 169 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 170 | public boolean commitText(CharSequence text, int newCursorPosition) { |
| 171 | return mTarget.commitText(text, newCursorPosition); |
| 172 | } |
| 173 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 174 | /** |
| 175 | * {@inheritDoc} |
| 176 | * @throws NullPointerException if the target is {@code null}. |
| 177 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 178 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 179 | public boolean commitCompletion(CompletionInfo text) { |
| 180 | return mTarget.commitCompletion(text); |
| 181 | } |
| 182 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 183 | /** |
| 184 | * {@inheritDoc} |
| 185 | * @throws NullPointerException if the target is {@code null}. |
| 186 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 187 | @Override |
Gilles Debunne | cf9cf2f | 2010-12-08 17:43:58 -0800 | [diff] [blame] | 188 | public boolean commitCorrection(CorrectionInfo correctionInfo) { |
| 189 | return mTarget.commitCorrection(correctionInfo); |
| 190 | } |
| 191 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 192 | /** |
| 193 | * {@inheritDoc} |
| 194 | * @throws NullPointerException if the target is {@code null}. |
| 195 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 196 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 197 | public boolean setSelection(int start, int end) { |
| 198 | return mTarget.setSelection(start, end); |
| 199 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 200 | |
| 201 | /** |
| 202 | * {@inheritDoc} |
| 203 | * @throws NullPointerException if the target is {@code null}. |
| 204 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 205 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 206 | public boolean performEditorAction(int editorAction) { |
| 207 | return mTarget.performEditorAction(editorAction); |
| 208 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 209 | |
| 210 | /** |
| 211 | * {@inheritDoc} |
| 212 | * @throws NullPointerException if the target is {@code null}. |
| 213 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 214 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 215 | public boolean performContextMenuAction(int id) { |
| 216 | return mTarget.performContextMenuAction(id); |
| 217 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 218 | |
| 219 | /** |
| 220 | * {@inheritDoc} |
| 221 | * @throws NullPointerException if the target is {@code null}. |
| 222 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 223 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 224 | public boolean beginBatchEdit() { |
| 225 | return mTarget.beginBatchEdit(); |
| 226 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 227 | |
| 228 | /** |
| 229 | * {@inheritDoc} |
| 230 | * @throws NullPointerException if the target is {@code null}. |
| 231 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 232 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 233 | public boolean endBatchEdit() { |
| 234 | return mTarget.endBatchEdit(); |
| 235 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 236 | |
| 237 | /** |
| 238 | * {@inheritDoc} |
| 239 | * @throws NullPointerException if the target is {@code null}. |
| 240 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 241 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 242 | public boolean sendKeyEvent(KeyEvent event) { |
| 243 | return mTarget.sendKeyEvent(event); |
| 244 | } |
| 245 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 246 | /** |
| 247 | * {@inheritDoc} |
| 248 | * @throws NullPointerException if the target is {@code null}. |
| 249 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 250 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 251 | public boolean clearMetaKeyStates(int states) { |
| 252 | return mTarget.clearMetaKeyStates(states); |
| 253 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 254 | |
| 255 | /** |
| 256 | * {@inheritDoc} |
| 257 | * @throws NullPointerException if the target is {@code null}. |
| 258 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 259 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 260 | public boolean reportFullscreenMode(boolean enabled) { |
| 261 | return mTarget.reportFullscreenMode(enabled); |
| 262 | } |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 263 | |
| 264 | /** |
| 265 | * {@inheritDoc} |
| 266 | * @throws NullPointerException if the target is {@code null}. |
| 267 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 268 | @Override |
The Android Open Source Project | b2a3dd8 | 2009-03-09 11:52:12 -0700 | [diff] [blame] | 269 | public boolean performPrivateCommand(String action, Bundle data) { |
| 270 | return mTarget.performPrivateCommand(action, data); |
| 271 | } |
Yohei Yukawa | 0023d0e | 2014-07-11 04:13:03 +0900 | [diff] [blame] | 272 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 273 | /** |
| 274 | * {@inheritDoc} |
| 275 | * @throws NullPointerException if the target is {@code null}. |
| 276 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 277 | @Override |
Yohei Yukawa | d8636ea | 2014-09-02 22:03:30 -0700 | [diff] [blame] | 278 | public boolean requestCursorUpdates(int cursorUpdateMode) { |
| 279 | return mTarget.requestCursorUpdates(cursorUpdateMode); |
Yohei Yukawa | 0023d0e | 2014-07-11 04:13:03 +0900 | [diff] [blame] | 280 | } |
Yohei Yukawa | 612cce9 | 2016-02-11 17:47:33 -0800 | [diff] [blame] | 281 | |
Yohei Yukawa | 1d1c21c | 2016-02-29 15:02:41 -0800 | [diff] [blame] | 282 | /** |
| 283 | * {@inheritDoc} |
| 284 | * @throws NullPointerException if the target is {@code null}. |
| 285 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 286 | @Override |
Yohei Yukawa | 612cce9 | 2016-02-11 17:47:33 -0800 | [diff] [blame] | 287 | public Handler getHandler() { |
| 288 | return mTarget.getHandler(); |
| 289 | } |
Yohei Yukawa | 9f9afe52 | 2016-03-30 12:03:51 -0700 | [diff] [blame] | 290 | |
| 291 | /** |
| 292 | * {@inheritDoc} |
| 293 | * @throws NullPointerException if the target is {@code null}. |
| 294 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 295 | @Override |
Yohei Yukawa | 9f9afe52 | 2016-03-30 12:03:51 -0700 | [diff] [blame] | 296 | public void closeConnection() { |
| 297 | mTarget.closeConnection(); |
| 298 | } |
Yohei Yukawa | 152944f | 2016-06-10 19:04:34 -0700 | [diff] [blame] | 299 | |
| 300 | /** |
| 301 | * {@inheritDoc} |
| 302 | * @throws NullPointerException if the target is {@code null}. |
| 303 | */ |
Yohei Yukawa | 7a8c9aa | 2018-01-15 19:43:38 -0800 | [diff] [blame] | 304 | @Override |
Yohei Yukawa | 45700fa | 2016-06-23 17:12:59 -0700 | [diff] [blame] | 305 | public boolean commitContent(InputContentInfo inputContentInfo, int flags, Bundle opts) { |
| 306 | return mTarget.commitContent(inputContentInfo, flags, opts); |
Yohei Yukawa | 152944f | 2016-06-10 19:04:34 -0700 | [diff] [blame] | 307 | } |
Yohei Yukawa | e77386e | 2018-01-23 10:39:32 -0800 | [diff] [blame] | 308 | |
| 309 | /** |
| 310 | * {@inheritDoc} |
| 311 | * @throws NullPointerException if the target is {@code null}. |
| 312 | */ |
| 313 | @Override |
| 314 | public void reportLanguageHint(@NonNull LocaleList languageHint) { |
| 315 | mTarget.reportLanguageHint(languageHint); |
| 316 | } |
Yohei Yukawa | d8636ea | 2014-09-02 22:03:30 -0700 | [diff] [blame] | 317 | } |