diff options
author | 2023-03-10 19:14:17 +0000 | |
---|---|---|
committer | 2023-03-10 19:14:17 +0000 | |
commit | 7810801b09dfb15a7d7677afb6cb2b22caafeb58 (patch) | |
tree | db69c83cc69a0e203c7c3bbc686529c26afd6e87 | |
parent | 213f4d56042c73a3d64753bdcad52fe67d75433b (diff) | |
parent | f5c1b4cc37a4f638e971668cf5923564d627466e (diff) | |
download | latinime-7810801b09dfb15a7d7677afb6cb2b22caafeb58.tar.gz latinime-7810801b09dfb15a7d7677afb6cb2b22caafeb58.tar.xz latinime-7810801b09dfb15a7d7677afb6cb2b22caafeb58.zip |
Baseline NewApi issues am: f5c1b4cc37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/21913526
Change-Id: I20869dc50736c49f05dc544b452146d871655d48
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | java/lint-baseline.xml | 44 |
1 files changed, 12 insertions, 32 deletions
diff --git a/java/lint-baseline.xml b/java/lint-baseline.xml index 02f41f4e4..dbb81ca76 100644 --- a/java/lint-baseline.xml +++ b/java/lint-baseline.xml @@ -26,56 +26,36 @@ <issue id="NewApi" message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`" - errorLine1=" final WindowManager wm = getSystemService(WindowManager.class);" - errorLine2=" ~~~~~~~~~~~~~~~~"> + errorLine1=" final UserManager userManager = context.getSystemService(UserManager.class);" + errorLine2=" ~~~~~~~~~~~~~~~~"> <location - file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java" - line="606" - column="34"/> + file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/UserManagerCompatUtils.java" + line="69" + column="49"/> </issue> <issue id="NewApi" - message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`" - errorLine1=" final WindowManager wm = getSystemService(WindowManager.class);" - errorLine2=" ~~~~~~~~~~~~~~~~"> + message="Call requires API level 23 (current min is 21): `android.app.ActivityOptions#makeBasic`"> <location file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java" - line="804" - column="34"/> + line="1842"/> </issue> <issue id="NewApi" - message="Call requires API level 23 (current min is 21): `android.app.ActivityOptions#makeBasic`" - errorLine1=" ActivityOptions.makeBasic().setLaunchDisplayId(currentDisplayId).toBundle());" - errorLine2=" ~~~~~~~~~"> + message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`"> <location file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java" - line="1823" - column="33"/> + line="605"/> </issue> <issue id="NewApi" - message="Call requires API level 26 (current min is 21): `android.app.ActivityOptions#setLaunchDisplayId`" - errorLine1=" ActivityOptions.makeBasic().setLaunchDisplayId(currentDisplayId).toBundle());" - errorLine2=" ~~~~~~~~~~~~~~~~~~"> + message="Call requires API level 26 (current min is 21): `android.app.ActivityOptions#setLaunchDisplayId`"> <location file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/LatinIME.java" - line="1823" - column="45"/> - </issue> - - <issue - id="NewApi" - message="Call requires API level 23 (current min is 21): `android.content.Context#getSystemService`" - errorLine1=" final UserManager userManager = context.getSystemService(UserManager.class);" - errorLine2=" ~~~~~~~~~~~~~~~~"> - <location - file="packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/UserManagerCompatUtils.java" - line="69" - column="49"/> + line="1842"/> </issue> -</issues> +</issues>
\ No newline at end of file |