| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 4.2.0-alpha06" client="gradle" variant="debug" version="4.2.0-alpha06"> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.layout.activity_demo` appears to be unused" |
| errorLine1="<LinearLayout" |
| errorLine2="^"> |
| <location |
| file="src/main/res/layout/activity_demo.xml" |
| line="18" |
| column="1"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.color.textColor` appears to be unused" |
| errorLine1=" <color name="textColor">#D9000000</color>" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/colors.xml" |
| line="24" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.color.tintColor` appears to be unused" |
| errorLine1=" <color name="tintColor">#FF12A4Af</color>" |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/colors.xml" |
| line="25" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.dimen.textSize` appears to be unused" |
| errorLine1=" <dimen name="textSize">10sp</dimen>" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/dimens.xml" |
| line="19" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.dimen.smallTextSize` appears to be unused" |
| errorLine1=" <dimen name="smallTextSize">9sp</dimen>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/dimens.xml" |
| line="20" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.style.AppTheme_AppBarOverlay` appears to be unused" |
| errorLine1=" <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/styles.xml" |
| line="34" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="UnusedResources" |
| message="The resource `R.style.AppTheme_PopupOverlay` appears to be unused" |
| errorLine1=" <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/res/values/styles.xml" |
| line="35" |
| column="12"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mAdapter` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="124" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSearchView` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="124" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mAdapter` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="130" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSearchView` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" mSearchView.setQuery(((Cursor) mAdapter.getItem(position)).getString(1), true);" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="130" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `addSlice` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" addSlice(Uri.parse(s));" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="137" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` field `mSearchView` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" mSearchView.clearFocus();" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="138" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `populateAdapter` of class `SliceBrowser` requires synthetic accessor" |
| errorLine1=" populateAdapter(s);" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="144" |
| column="17"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` member of class `IconCache` requires synthetic accessor" |
| errorLine1=" IconCache cache = new IconCache();" |
| errorLine2=" ~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="82" |
| column="27"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `getType` of class `ProviderTypeCache` requires synthetic accessor" |
| errorLine1=" if (SliceProvider.SLICE_TYPE.equals(typeCache.getType(provider))) {" |
| errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="95" |
| column="57"/> |
| </issue> |
| |
| <issue |
| id="SyntheticAccessor" |
| message="Access to `private` method `loadIcon` of class `IconCache` requires synthetic accessor" |
| errorLine1=" cache.loadIcon(iv, provider, pm);" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="131" |
| column="25"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public void onCreate(Bundle savedInstanceState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="101" |
| column="26"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public boolean onCreateOptionsMenu(Menu menu) {" |
| errorLine2=" ~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="175" |
| column="40"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public boolean onOptionsItemSelected(MenuItem item) {" |
| errorLine2=" ~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="196" |
| column="42"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected void onSaveInstanceState(Bundle outState) {" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceBrowser.java" |
| line="283" |
| column="40"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static void create(Context context, Consumer<Uri> selectedCallback) {" |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="78" |
| column="31"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" public static void create(Context context, Consumer<Uri> selectedCallback) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="78" |
| column="48"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected static CharSequence findTitle(Context context, Slice loadedSlice," |
| errorLine2=" ~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="233" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected static CharSequence findTitle(Context context, Slice loadedSlice," |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="233" |
| column="45"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected static CharSequence findTitle(Context context, Slice loadedSlice," |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="233" |
| column="62"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" SliceMetadata metaData) {" |
| errorLine2=" ~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="234" |
| column="13"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected static Slice bindSliceSynchronous(Context context, SliceViewManager manager," |
| errorLine2=" ~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="255" |
| column="22"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected static Slice bindSliceSynchronous(Context context, SliceViewManager manager," |
| errorLine2=" ~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="255" |
| column="49"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" protected static Slice bindSliceSynchronous(Context context, SliceViewManager manager," |
| errorLine2=" ~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="255" |
| column="66"/> |
| </issue> |
| |
| <issue |
| id="UnknownNullness" |
| message="Unknown nullability; explicitly declare as `@Nullable` or `@NonNull` to improve Kotlin interoperability; see https://android.github.io/kotlin-guides/interop.html#nullability-annotations" |
| errorLine1=" Uri slice) {" |
| errorLine2=" ~~~"> |
| <location |
| file="src/main/java/com/example/androidx/slice/demos/SliceSelectionDialog.java" |
| line="256" |
| column="13"/> |
| </issue> |
| |
| </issues> |