Merge "Mark disallow IME interface compat ID as TestApi"

This commit is contained in:
Wilson Wu
2022-10-17 07:53:53 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 1 deletions

View File

@@ -1352,6 +1352,7 @@ package android.inputmethodservice {
}
@UiContext public class InputMethodService extends android.inputmethodservice.AbstractInputMethodService {
field public static final long DISALLOW_INPUT_METHOD_INTERFACE_OVERRIDE = 148086656L; // 0x8d39f80L
field public static final long FINISH_INPUT_NO_FALLBACK_CONNECTION = 156215187L; // 0x94fa793L
}

View File

@@ -565,9 +565,10 @@ public class InputMethodService extends AbstractInputMethodService {
*
* @hide
*/
@TestApi
@ChangeId
@EnabledSince(targetSdkVersion = Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
private static final long DISALLOW_INPUT_METHOD_INTERFACE_OVERRIDE = 148086656L;
public static final long DISALLOW_INPUT_METHOD_INTERFACE_OVERRIDE = 148086656L;
LayoutInflater mInflater;
TypedArray mThemeAttrs;