diff options
| author | Mathew Inwood <mathewi@google.com> | 2020-11-09 15:09:11 +0000 |
|---|---|---|
| committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-11-09 15:09:11 +0000 |
| commit | eb80316624fd8525dfc5355dac3300489435cde1 (patch) | |
| tree | d25e250c74976bdc07478c0901c41d11ce5e7f6a /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | 20d93a701c52c15bd0dc7693c13c5917cdba50bc (diff) | |
| parent | f8abe13db481533441caf8749c0d194613230a10 (diff) | |
Merge "Add maxTargetSdk restriction to unused APIs." am: f8abe13db4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468245
Change-Id: I35f65987f7f9287cf03418e9feb27c81f4fd1878
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
| -rw-r--r-- | core/java/android/inputmethodservice/InputMethodService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index 1c5df4825192..6c6bd004e343 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -1097,7 +1097,7 @@ public class InputMethodService extends AbstractInputMethodService { mService.getContentResolver().unregisterContentObserver(this); } - @UnsupportedAppUsage + @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553) private boolean shouldShowImeWithHardKeyboard() { // Lazily initialize as needed. if (mShowImeWithHardKeyboard == ShowImeWithHardKeyboardType.UNKNOWN) { @@ -1137,7 +1137,7 @@ public class InputMethodService extends AbstractInputMethodService { return "SettingsObserver{mShowImeWithHardKeyboard=" + mShowImeWithHardKeyboard + "}"; } } - @UnsupportedAppUsage + @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553) private SettingsObserver mSettingsObserver; /** |
