[go: nahoru, domu]

blob: bee2da3f14305669a6c9d519cec4ad9faf5b731e [file] [log] [blame]
<?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&lt;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&lt;?> 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&lt;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&lt;?> 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&lt;?> 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&lt;?> 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&lt;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&lt;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&lt;?> 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&lt;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(&quot;unknown-id&quot;));"
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&lt;Void> removeShortcuts(List&lt;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&lt;Void> removeShortcuts(List&lt;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&lt;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&lt;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&lt;Void> addShortcuts(List&lt;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&lt;Void> addShortcuts(List&lt;ShortcutInfoCompat> shortcuts) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/androidx/sharetarget/ShortcutInfoCompatSaverImpl.java"/>
</issue>
</issues>