blob: 13b4966d369c5be2aafceaa32b3ffd7105fe9cc9 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 3.6.0-alpha12" client="gradle" variant="debug" version="3.6.0-alpha12">
<issue
id="ObsoleteLintCustomCheck"
message="Lint found an issue registry (`androidx.build.lint.AndroidXIssueRegistry`) which did not specify the Lint API version it was compiled with.&#xA;&#xA;**This means that the lint checks are likely not compatible.**&#xA;&#xA;If you are the author of this lint check, make your lint `IssueRegistry` class contain&#xA;  override val api: Int = com.android.tools.lint.detector.api.CURRENT_API&#xA;or from Java,&#xA;  @Override public int getApi() { return com.android.tools.lint.detector.api.ApiKt.CURRENT_API; }&#xA;&#xA;If you are just using lint checks from a third party library you have no control over, you can disable these lint checks (if they misbehave) like this:&#xA;&#xA;    android {&#xA;        lintOptions {&#xA;            disable &quot;BanKeepAnnotation&quot;,&#xA;                    &quot;BanParcelableUsage&quot;,&#xA;                    &quot;BanTargetApiAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;EnforceSampledAnnotation&quot;,&#xA;                    &quot;MissingTestSizeAnnotation&quot;,&#xA;                    &quot;ObsoleteBuildCompat&quot;&#xA;        }&#xA;    }&#xA;">
<location
file="../../../../out/buildSrc/lint-checks/build/libs/lint-checks.jar"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onPictureInPictureModeChanged`"
errorLine1=" public void onPictureInPictureModeChanged(boolean isInPictureInPictureMode) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java"
line="43"
column="17"/>
</issue>
<issue
id="MissingSuperCall"
message="Overriding method should call `super.onPictureInPictureModeChanged`"
errorLine1=" public void onPictureInPictureModeChanged(boolean isInPictureInPictureMode) {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java"
line="43"
column="17"/>
</issue>
<issue
id="MissingClass"
message="Class referenced in the layout file, `com.example.android.leanback.PlaybackOverlayFragment`, was not found in the project or the libraries"
errorLine1=" android:name=&quot;com.example.android.leanback.PlaybackOverlayFragment&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/playback_controls.xml"
line="23"
column="23"/>
</issue>
<issue
id="MissingClass"
message="Class referenced in the layout file, `com.example.android.leanback.PlaybackOverlaySupportFragment`, was not found in the project or the libraries"
errorLine1=" android:name=&quot;com.example.android.leanback.PlaybackOverlaySupportFragment&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/playback_controls_support.xml"
line="25"
column="23"/>
</issue>
<issue
id="DefaultLocale"
message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
errorLine1=" b.append(String.format(&quot;%.2f&quot;, ((float) seconds + seconds2)));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackSeekDataProviderSample.java"
line="80"
column="18"/>
</issue>
<issue
id="SdCardPath"
message="Do not hardcode &quot;/sdcard/&quot;; use `Environment.getExternalStorageDirectory().getPath()` instead"
errorLine1=" &quot;/sdcard/seek/frame_%04d.jpg&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="110"
column="25"/>
</issue>
<issue
id="SdCardPath"
message="Do not hardcode &quot;/sdcard/&quot;; use `Environment.getExternalStorageDirectory().getPath()` instead"
errorLine1=" &quot;/sdcard/seek/frame_%04d.jpg&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="113"
column="25"/>
</issue>
<issue
id="SdCardPath"
message="Do not hardcode &quot;/sdcard/&quot;; use `Environment.getExternalStorageDirectory().getPath()` instead"
errorLine1=" &quot;/sdcard/seek/frame_%04d.jpg&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
line="80"
column="21"/>
</issue>
<issue
id="SdCardPath"
message="Do not hardcode &quot;/sdcard/&quot;; use `Environment.getExternalStorageDirectory().getPath()` instead"
errorLine1=" &quot;/sdcard/seek/frame_%04d.jpg&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/SampleVideoFragment.java"
line="92"
column="33"/>
</issue>
<issue
id="SdCardPath"
message="Do not hardcode &quot;/sdcard/&quot;; use `Environment.getExternalStorageDirectory().getPath()` instead"
errorLine1=" &quot;/sdcard/seek/frame_%04d.jpg&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
line="83"
column="21"/>
</issue>
<issue
id="SdCardPath"
message="Do not hardcode &quot;/sdcard/&quot;; use `Environment.getExternalStorageDirectory().getPath()` instead"
errorLine1=" &quot;/sdcard/seek/frame_%04d.jpg&quot;));"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java"
line="95"
column="33"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:resizeableActivity=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="89"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:supportsPictureInPicture=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="90"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:resizeableActivity=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="97"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:supportsPictureInPicture=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="98"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:resizeableActivity=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="105"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:supportsPictureInPicture=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="106"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:resizeableActivity=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="113"
column="13"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 21)"
errorLine1=" android:supportsPictureInPicture=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="114"
column="13"/>
</issue>
<issue
id="InflateParams"
message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout&apos;s root element)"
errorLine1=" View view = getLayoutInflater().inflate(R.layout.horizontal_grid, null, false);"
errorLine2=" ~~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="55"
column="75"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 32 (leanback.BrowseAnimationFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java"
line="59"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (leanback.BrowseSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
line="69"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (leanback.BrowseSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java"
line="92"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsFragment.java"
line="69"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)"
errorLine1=" Log.i(TAG, &quot;onItemClicked: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsFragment.java"
line="136"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsFragment.java"
line="153"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
line="72"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemClicked: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
line="139"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java"
line="156"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 29 (leanback.ErrorSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"
line="32"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 29 (leanback.ErrorSupportFragment)"
errorLine1=" Log.i(TAG, &quot;button clicked&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java"
line="46"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 44 (leanback.GuidedStepSupportHalfScreenActivity)"
errorLine1=" Log.v(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
line="43"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 44 (leanback.GuidedStepSupportHalfScreenActivity)"
errorLine1=" Log.v(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
line="46"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)"
errorLine1=" Log.v(TAG, &quot;onScrollStateChanged &quot;"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="48"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)"
errorLine1=" if (DEBUG) Log.d(TAG, &quot;onChildSelected position=&quot; + position);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="66"
column="42"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="77"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;onNewIntent &quot; + intent);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="91"
column="26"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;createViewHolder &quot; + viewType);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="133"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)"
errorLine1=" if (DEBUG) Log.v(TAG, &quot;bindViewHolder &quot; + position + &quot; &quot; + baseHolder);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="145"
column="30"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="117"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)"
errorLine1=" Log.i(TAG, &quot;onItemClicked: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="218"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="235"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="120"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemClicked: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="221"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="238"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 33 (leanback.PlaybackControlsFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackFragment.java"
line="67"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 33 (leanback.PlaybackControlsFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java"
line="70"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 28 (PlaybackTransportControlGlue)"
errorLine1=" Log.e(TAG, &quot;disconnectToMediaSession: Media session disconnected&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java"
line="156"
column="19"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 28 (leanback.RowsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
line="52"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 28 (leanback.RowsSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/RowsSupportFragment.java"
line="61"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (leanback.SearchSupportFragment)"
errorLine1=" Log.i(TAG, String.format(&quot;Search Query Text Change %s&quot;, newQuery));"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
line="111"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 30 (leanback.SearchSupportFragment)"
errorLine1=" Log.i(TAG, String.format(&quot;Search Query Text Submit %s&quot;, query));"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/SearchSupportFragment.java"
line="119"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
line="52"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
line="95"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)"
errorLine1=" Log.i(TAG, &quot;onItemClicked: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/VerticalGridFragment.java"
line="103"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onCreate&quot;);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
line="55"
column="15"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemSelected: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
line="98"
column="23"/>
</issue>
<issue
id="LongLogTag"
message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)"
errorLine1=" Log.i(TAG, &quot;onItemClicked: &quot; + item + &quot; row &quot; + row);"
errorLine2=" ~~~">
<location
file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java"
line="106"
column="23"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of com.google.code.gson:gson than 2.6.2 is available: 2.8.5"
errorLine1=" implementation &apos;com.google.code.gson:gson:2.6.2&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="9"
column="5"/>
</issue>
<issue
id="GradleOverrides"
message="This `versionCode` value (`1`) is not used; it is always overridden by the value specified in the Gradle build script (`1`)"
errorLine1=" android:versionCode=&quot;1&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="4"
column="5"/>
</issue>
<issue
id="GradleOverrides"
message="This `versionName` value (`1.0`) is not used; it is always overridden by the value specified in the Gradle build script (`1.0`)"
errorLine1=" android:versionName=&quot;1.0&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="5"
column="5"/>
</issue>
<issue
id="RestrictedApi"
message="GuidedStepFragment.SLIDE_FROM_BOTTOM can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
line="76"
column="58"/>
</issue>
<issue
id="RestrictedApi"
message="GuidedStepFragment.setEntranceTransitionType can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java"
line="76"
column="13"/>
</issue>
<issue
id="RestrictedApi"
message="GuidedStepSupportFragment.SLIDE_FROM_BOTTOM can only be accessed from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepSupportFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
line="79"
column="65"/>
</issue>
<issue
id="RestrictedApi"
message="GuidedStepSupportFragment.setEntranceTransitionType can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" setEntranceTransitionType(GuidedStepSupportFragment.SLIDE_FROM_BOTTOM);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java"
line="79"
column="13"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" MediaPlayerGlue mediaPlayerGlue = new MediaPlayerGlue(getActivity());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="83"
column="43"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setMode can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE);"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="85"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setArtist can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setArtist(&quot;A Googler&quot;);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="86"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setTitle can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setTitle(&quot;Diving with Sharks Trailer&quot;);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="87"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setMediaSource can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMediaSource(Uri.parse(&quot;android.resource://com.example.android.leanback/&quot;"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsFragment.java"
line="88"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" MediaPlayerGlue mediaPlayerGlue = new MediaPlayerGlue(getActivity());"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="86"
column="43"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setMode can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMode(MediaPlayerGlue.REPEAT_ONE);"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="88"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setArtist can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setArtist(&quot;A Googler&quot;);"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="89"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setTitle can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setTitle(&quot;Diving with Sharks Trailer&quot;);"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="90"
column="25"/>
</issue>
<issue
id="RestrictedApi"
message="MediaPlayerGlue.setMediaSource can only be called from within the same library group prefix (referenced groupId=`androidx.leanback` with prefix androidx from groupId=`androidx`)"
errorLine1=" mediaPlayerGlue.setMediaSource(Uri.parse(&quot;android.resource://com.example.android.leanback/&quot;"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java"
line="91"
column="25"/>
</issue>
<issue
id="PermissionImpliesUnsupportedHardware"
message="Permission exists without corresponding hardware `&lt;uses-feature android:name=&quot;android.hardware.microphone&quot; required=&quot;false&quot;>` tag."
errorLine1=" &lt;uses-permission android:name=&quot;android.permission.RECORD_AUDIO&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="15"
column="6"/>
</issue>
<issue
id="AllowBackup"
message="On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute `android:fullBackupContent` to specify an `@xml` resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html"
errorLine1=" &lt;application"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="19"
column="6"/>
</issue>
<issue
id="AllowBackup"
message="Should explicitly set `android:allowBackup` to `true` or `false` (it&apos;s `true` by default, and that can have some security implications for the application&apos;s data)"
errorLine1=" &lt;application"
errorLine2=" ~~~~~~~~~~~">
<location
file="src/main/AndroidManifest.xml"
line="19"
column="6"/>
</issue>
<issue
id="StaticFieldLeak"
message="This `AsyncTask` class should be static or leaks might occur (com.example.android.leanback.BackgroundHelper.LoadBitmapTaskBase)"
errorLine1=" class LoadBitmapTaskBase extends AsyncTask&lt;Request, Object, Request> {"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
line="126"
column="11"/>
</issue>
<issue
id="StaticFieldLeak"
message="This `AsyncTask` class should be static or leaks might occur (com.example.android.leanback.BackgroundHelper.LoadBitmapIntoBackgroundManagerTask)"
errorLine1=" class LoadBitmapIntoBackgroundManagerTask extends LoadBitmapTaskBase {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
line="162"
column="11"/>
</issue>
<issue
id="StaticFieldLeak"
message="This `AsyncTask` class should be static or leaks might occur (com.example.android.leanback.BackgroundHelper.LoadBitmapCallbackTask)"
errorLine1=" class LoadBitmapCallbackTask extends LoadBitmapTaskBase {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/BackgroundHelper.java"
line="170"
column="11"/>
</issue>
<issue
id="StaticFieldLeak"
message="This `AsyncTask` class should be static or leaks might occur (com.example.android.leanback.PlaybackSeekAsyncDataProvider.LoadBitmapTask)"
errorLine1=" class LoadBitmapTask extends AsyncTask&lt;Object, Object, Bitmap> {"
errorLine2=" ~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java"
line="55"
column="11"/>
</issue>
<issue
id="HandlerLeak"
message="This Handler class should be static or leaks might occur (com.example.android.leanback.MediaSessionService.MediaPlayerAudioHandler)"
errorLine1=" private class MediaPlayerAudioHandler extends Handler {"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/MediaSessionService.java"
line="87"
column="19"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/browse.xml"
line="18"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/browse_support.xml"
line="20"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/date_picker.xml"
line="18"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/details_activity.xml"
line="18"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/guided_step_activity.xml"
line="19"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/onboarding.xml"
line="18"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/pin_picker.xml"
line="18"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/playback_activity.xml"
line="17"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/playback_activity_support.xml"
line="19"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/playback_transportcontrol_activity.xml"
line="17"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/playback_transportcontrol_activity_support.xml"
line="19"
column="1"/>
</issue>
<issue
id="MergeRootFrame"
message="This `&lt;FrameLayout>` can be replaced with a `&lt;merge>` tag"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/time_picker.xml"
line="18"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.array.pref_parent_control_entries_summaries` appears to be unused"
errorLine1=" &lt;array name=&quot;pref_parent_control_entries_summaries&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/arrays.xml"
line="46"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.raw.browse` appears to be unused">
<location
file="src/main/res/raw/browse.mp4"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.details_img` appears to be unused">
<location
file="src/main/res/drawable/details_img.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.google_android` appears to be unused">
<location
file="src/main/res/drawable/google_android.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.google_logo` appears to be unused">
<location
file="src/main/res/drawable/google_logo.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.google_photo` appears to be unused">
<location
file="src/main/res/drawable/google_photo.jpeg"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_guidedstep_option_a` appears to be unused">
<location
file="src/main/res/drawable/ic_guidedstep_option_a.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_guidedstep_option_b` appears to be unused">
<location
file="src/main/res/drawable/ic_guidedstep_option_b.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_guidedstep_option_c` appears to be unused">
<location
file="src/main/res/drawable/ic_guidedstep_option_c.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_settings_wifi_3_bar` appears to be unused">
<location
file="src/main/res/drawable-xhdpi/ic_settings_wifi_3_bar.png"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.raw.media0` appears to be unused">
<location
file="src/main/res/raw/media0.mp3"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.raw.media1` appears to be unused">
<location
file="src/main/res/raw/media1.mp3"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.layout.playback_controls` appears to be unused"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/playback_controls.xml"
line="17"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.layout.playback_controls_support` appears to be unused"
errorLine1="&lt;FrameLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/layout/playback_controls_support.xml"
line="19"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.playbackoverlay` appears to be unused"
errorLine1=" &lt;string name=&quot;playbackoverlay&quot;>PlaybackOverlay&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="53"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.playbackoverlay_description` appears to be unused"
errorLine1=" &lt;string name=&quot;playbackoverlay_description&quot;>PlaybackOverlayFragment test&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="54"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.playbackoverlay_support` appears to be unused"
errorLine1=" &lt;string name=&quot;playbackoverlay_support&quot;>PlaybackOverlay(support version)&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="55"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.playbackoverlay_support_description` appears to be unused"
errorLine1=" &lt;string name=&quot;playbackoverlay_support_description&quot;>PlaybackOverlaySupportFragment test&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="56"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.legacydetails_off` appears to be unused"
errorLine1=" &lt;string name=&quot;legacydetails_off&quot;>Use New DetailsPresenter&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="75"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.legacydetails_on` appears to be unused"
errorLine1=" &lt;string name=&quot;legacydetails_on&quot;>Use Legacy DetailsPresenter&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="76"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.guidedstep_fourth_description` appears to be unused"
errorLine1=" &lt;string name=&quot;guidedstep_fourth_description&quot;>Fourth step of guided sequence&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="99"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_SearchDetails` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.SearchDetails&quot; parent=&quot;Theme.AppCompat.Leanback.Details.NoSharedElementTransition&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="23"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_Details` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.Details&quot; parent=&quot;Theme.AppCompat.Leanback.Details&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="25"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_Details_CustomTitle` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.Details.CustomTitle&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="27"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_Rows` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.Rows&quot; parent=&quot;Theme.AppCompat.Leanback&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="32"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_GuidedStep` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.GuidedStep&quot; parent=&quot;Theme.AppCompat.Leanback.GuidedStep&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="36"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_GuidedStep_First` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.GuidedStep.First&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="39"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_GuidedStep_Half` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.GuidedStep.Half&quot; parent=&quot;Theme.AppCompat.Leanback.GuidedStep.Half&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="42"
column="12"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.style.Theme_Example_AppCompat_Leanback_Preferences` appears to be unused"
errorLine1=" &lt;style name=&quot;Theme.Example.AppCompat.Leanback.Preferences&quot;>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/themes_appcompat.xml"
line="44"
column="12"/>
</issue>
<issue
id="UselessParent"
message="This `LinearLayout` layout or its `RelativeLayout` parent is useless"
errorLine1=" &lt;LinearLayout"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="7"
column="6"/>
</issue>
<issue
id="IconColors"
message="Action Bar icons should use a single gray color (`#333333` for light themes (with 60%/30% opacity for enabled/disabled), and `#FFFFFF` with opacity 80%/30% for dark themes">
<location
file="src/main/res/drawable/ic_action_a.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/details_img.png` in densityless folder">
<location
file="src/main/res/drawable/details_img.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/details_img_16x9.png` in densityless folder">
<location
file="src/main/res/drawable/details_img_16x9.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_1.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_1.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_2.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_2.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_3.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_3.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_4.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_4.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_5.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_5.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_6.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_6.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_7.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_7.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/gallery_photo_8.jpg` in densityless folder">
<location
file="src/main/res/drawable/gallery_photo_8.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/google_android.png` in densityless folder">
<location
file="src/main/res/drawable/google_android.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/google_logo.png` in densityless folder">
<location
file="src/main/res/drawable/google_logo.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/google_map.jpg` in densityless folder">
<location
file="src/main/res/drawable/google_map.jpg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/google_photo.jpeg` in densityless folder">
<location
file="src/main/res/drawable/google_photo.jpeg"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/ic_action_a.png` in densityless folder">
<location
file="src/main/res/drawable/ic_action_a.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/ic_guidedstep_option_a.png` in densityless folder">
<location
file="src/main/res/drawable/ic_guidedstep_option_a.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/ic_guidedstep_option_b.png` in densityless folder">
<location
file="src/main/res/drawable/ic_guidedstep_option_b.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/ic_guidedstep_option_c.png` in densityless folder">
<location
file="src/main/res/drawable/ic_guidedstep_option_c.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/ic_title.png` in densityless folder">
<location
file="src/main/res/drawable/ic_title.png"/>
</issue>
<issue
id="IconLocation"
message="Found bitmap drawable `res/drawable/spiderman.jpg` in densityless folder">
<location
file="src/main/res/drawable/spiderman.jpg"/>
</issue>
<issue
id="IconDensities"
message="Missing the following drawables in `drawable-hdpi`: bg.png, ic_settings_apps.png, ic_settings_parental_control.png, ic_settings_time.png, ic_settings_wifi_3_bar.png... (46 more)">
<location
file="src/main/res/drawable-hdpi"/>
</issue>
<issue
id="IconDensities"
message="Missing the following drawables in `drawable-mdpi`: bg.png, ic_settings_apps.png, ic_settings_parental_control.png, ic_settings_time.png, ic_settings_wifi_3_bar.png... (46 more)">
<location
file="src/main/res/drawable-mdpi"/>
</issue>
<issue
id="IconMissingDensityFolder"
message="Missing density variation folders in `src/main/res`: drawable-xxhdpi">
<location
file="src/main/res"/>
</issue>
<issue
id="TextFields"
message="This text field does not specify an `inputType`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="15"
column="10"/>
</issue>
<issue
id="TextFields"
message="This text field does not specify an `inputType`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="24"
column="10"/>
</issue>
<issue
id="TextFields"
message="This text field does not specify an `inputType`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="33"
column="10"/>
</issue>
<issue
id="Autofill"
message="Missing `autofillHints` attribute"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="15"
column="10"/>
</issue>
<issue
id="Autofill"
message="Missing `autofillHints` attribute"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="24"
column="10"/>
</issue>
<issue
id="Autofill"
message="Missing `autofillHints` attribute"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="33"
column="10"/>
</issue>
<issue
id="LabelFor"
message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="15"
column="10"/>
</issue>
<issue
id="LabelFor"
message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="24"
column="10"/>
</issue>
<issue
id="LabelFor"
message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="33"
column="10"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" vh.getSubtitle().setText(&quot;2013 - 2014 Drama TV-14&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="23"
column="34"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" vh.getBody().setText(&quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do &quot;"
errorLine2=" ^">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="24"
column="30"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" vh.getBody().setText(&quot;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do &quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="24"
column="30"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" + &quot;eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim &quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="25"
column="19"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" + &quot;veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo &quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="26"
column="19"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" + &quot;consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse &quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="27"
column="19"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" + &quot;cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non &quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="28"
column="19"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" + &quot;proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&quot;);"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java"
line="29"
column="19"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" ((TextView) holder.itemView).setText(&quot;Item &quot;+position);"
errorLine2=" ~~~~~~~~~~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="147"
column="50"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" ((TextView) holder.itemView).setText(&quot;Item &quot;+position);"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java"
line="147"
column="50"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Header 1&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Header 1&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="19"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Header 2&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Header 2&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="28"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Header 3&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Header 3&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="37"
column="13"/>
</issue>
<issue
id="RtlHardcoded"
message="Consider replacing `android:layout_alignParentRight` with `android:layout_alignParentEnd=&quot;true&quot;` to better support right-to-left layouts"
errorLine1=" android:layout_alignParentRight=&quot;true&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="11"
column="9"/>
</issue>
<issue
id="RtlHardcoded"
message="Consider replacing `android:layout_marginRight` with `android:layout_marginEnd=&quot;128dp&quot;` to better support right-to-left layouts"
errorLine1=" android:layout_marginRight=&quot;128dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/page_fragment.xml"
line="12"
column="9"/>
</issue>
</issues>