| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 7.3.0-alpha07" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.0-alpha07)" variant="all" version="7.3.0-alpha07"> |
| |
| <issue |
| id="NewApi" |
| message="Class requires API level 19 (current min is 14): `ShortcutInfoCompatSaverImpl`" |
| errorLine1=" mShortcutSaver = mock(ShortcutInfoCompatSaverImpl.class);" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ChooserTargetServiceCompatTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcutIcon`" |
| errorLine1=" when(mShortcutSaver.getShortcutIcon(any())).thenReturn(mTestIcon);" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ChooserTargetServiceCompatTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `createExecutorService`" |
| errorLine1=" mCacheUpdateService = ShortcutInfoCompatSaverImpl.createExecutorService();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `createExecutorService`" |
| errorLine1=" mDiskIoService = ShortcutInfoCompatSaverImpl.createExecutorService();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `ShortcutInfoCompatSaverImpl`" |
| errorLine1=" mShortcutInfoSaver = new ShortcutInfoCompatSaverImpl(mContext, mCacheUpdateService," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `removeAllShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.removeAllShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `removeAllShortcuts`" |
| errorLine1=" mShortcutInfoSaver.removeAllShortcuts().get();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getInstance`" |
| errorLine1=" ShortcutInfoCompatSaverImpl.getInstance(mContext);" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getInstance`" |
| errorLine1=" assertEquals(saver, ShortcutInfoCompatSaverImpl.getInstance(mContext));" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" List<ShortcutInfoCompat> shortcuts = mShortcutInfoSaver.getShortcuts();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.addShortcuts(mTestShortcuts));" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(testShortcutsWithCategories(), mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" ListenableFuture<?> future = mShortcutInfoSaver.addShortcuts(mTestShortcuts);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(testShortcutsWithCategories(), mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.addShortcuts(firstBatch));" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" ListenableFuture<Void> future = mShortcutInfoSaver.addShortcuts(secondBatch);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(allShortcuts, mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(allShortcuts, mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.addShortcuts(mTestShortcuts));" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `removeShortcuts`" |
| errorLine1=" ListenableFuture<?> future = mShortcutInfoSaver.removeShortcuts(removeIds);" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(testShortcutsWithCategories(), mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(testShortcutsWithCategories(), mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.addShortcuts(mTestShortcuts));" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertShortcutsListEquals(testShortcutsWithCategories(), mShortcutInfoSaver.getShortcuts());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `removeAllShortcuts`" |
| errorLine1=" ListenableFuture<?> future = mShortcutInfoSaver.removeAllShortcuts();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertTrue(mShortcutInfoSaver.getShortcuts().isEmpty());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" assertTrue(mShortcutInfoSaver.getShortcuts().isEmpty());" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" ListenableFuture<?> future = mShortcutInfoSaver.addShortcuts(mTestShortcuts);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" List<ShortcutInfoCompat> shortcuts = mShortcutInfoSaver.getShortcuts();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.addShortcuts(mTestShortcuts));" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" List<ShortcutInfoCompat> shortcuts = mShortcutInfoSaver.getShortcuts();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcutIcon`" |
| errorLine1=" verifyCorrectIconLoaded(item.getId(), mShortcutInfoSaver.getShortcutIcon(item.getId()));" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" ListenableFuture<?> future = mShortcutInfoSaver.addShortcuts(mTestShortcuts);" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcuts`" |
| errorLine1=" List<ShortcutInfoCompat> shortcuts = mShortcutInfoSaver.getShortcuts();" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcutIcon`" |
| errorLine1=" verifyCorrectIconLoaded(item.getId(), mShortcutInfoSaver.getShortcutIcon(item.getId()));" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `addShortcuts`" |
| errorLine1=" catchAsyncExceptions(mShortcutInfoSaver.addShortcuts(mTestShortcuts));" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `getShortcutIcon`" |
| errorLine1=" assertNull(mShortcutInfoSaver.getShortcutIcon("unknown-id"));" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `createExecutorService`" |
| errorLine1=" mCacheUpdateService = ShortcutInfoCompatSaverImpl.createExecutorService();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `createExecutorService`" |
| errorLine1=" mDiskIoService = ShortcutInfoCompatSaverImpl.createExecutorService();" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="NewApi" |
| message="Call requires API level 19 (current min is 14): `ShortcutInfoCompatSaverImpl`" |
| errorLine1=" mShortcutInfoSaver = new ShortcutInfoCompatSaverImpl(mContext, mCacheUpdateService," |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/androidTest/java/androidx/sharetarget/ShortcutInfoCompatSaverTest.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public static ShortcutInfoCompatSaverImpl getInstance(Context context) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public static ShortcutInfoCompatSaverImpl getInstance(Context context) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public ListenableFuture<Void> removeShortcuts(List<String> shortcutIds) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public ListenableFuture<Void> removeShortcuts(List<String> shortcutIds) {" |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public ListenableFuture<Void> removeAllShortcuts() {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public List<ShortcutInfoCompat> getShortcuts() throws Exception {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public IconCompat getShortcutIcon(final String shortcutId) throws Exception {" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public IconCompat getShortcutIcon(final String shortcutId) throws Exception {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public ListenableFuture<Void> addShortcuts(List<ShortcutInfoCompat> shortcuts) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://developer.android.com/kotlin/interop#nullability_annotations" |
| errorLine1=" public ListenableFuture<Void> addShortcuts(List<ShortcutInfoCompat> shortcuts) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/> |
| </issue> |
| |
| </issues> |