<?xml version="1.0" encoding="UTF-8"?> <issues format="4" by="lint 3.0.0"> <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="42" 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="42" column="17"/> </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("%.2f", ((float) seconds + seconds2)));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/PlaybackSeekDataProviderSample.java" line="79" column="18"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="418" column="51"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="418" column="25"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="418" column="71"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" errorLine1=" if (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="703" column="25"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#getSpeed" errorLine1=" if (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {" errorLine2=" ~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="703" column="45"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="760" column="43"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="760" column="17"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="760" column="63"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="793" column="43"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="793" column="17"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="793" column="63"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="835" column="43"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="835" column="17"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="835" column="63"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="926" column="43"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="926" column="17"/> </issue> <issue id="NewApi" message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" errorLine2=" ~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/MediaSessionService.java" line="926" column="63"/> </issue> <issue id="NewApi" message="Call requires API level 21 (current min is 17): android.content.Context#getDrawable" errorLine1=" mMediaPlayerGlue.setArt(getActivity().getDrawable(R.drawable.google_map));" errorLine2=" ~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/VideoConsumptionWithDetailCardFragment.java" line="75" column="47"/> </issue> <issue id="SdCardPath" message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" line="109" column="25"/> </issue> <issue id="SdCardPath" message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" line="112" column="25"/> </issue> <issue id="SdCardPath" message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/SampleVideoFragment.java" line="79" column="21"/> </issue> <issue id="SdCardPath" message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/SampleVideoFragment.java" line="91" column="33"/> </issue> <issue id="SdCardPath" message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java" line="82" column="21"/> </issue> <issue id="SdCardPath" message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java" line="94" column="33"/> </issue> <issue id="UnusedAttribute" message="Attribute `banner` is only used in API level 21 and higher (current min is 17)" errorLine1=" android:banner="@drawable/ic_launcher"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/AndroidManifest.xml" line="22" column="9"/> </issue> <issue id="UnusedAttribute" message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 17)" errorLine1=" android:resizeableActivity="true"" 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 17)" errorLine1=" android:supportsPictureInPicture="true"" 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 17)" errorLine1=" android:resizeableActivity="true"" 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 17)" errorLine1=" android:supportsPictureInPicture="true"" 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 17)" errorLine1=" android:resizeableActivity="true"" 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 17)" errorLine1=" android:supportsPictureInPicture="true"" 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 17)" errorLine1=" android:resizeableActivity="true"" 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 17)" errorLine1=" android:supportsPictureInPicture="true"" 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'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="54" column="75"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 32 (leanback.BrowseAnimationFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java" line="58" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 30 (leanback.BrowseSupportFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java" line="68" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 30 (leanback.BrowseSupportFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java" line="91" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/DetailsFragment.java" line="68" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/DetailsFragment.java" line="135" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/DetailsFragment.java" line="152" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java" line="71" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java" line="138" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java" line="155" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 29 (leanback.ErrorSupportFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java" line="31" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 29 (leanback.ErrorSupportFragment)" errorLine1=" Log.i(TAG, "button clicked");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java" line="45" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 44 (leanback.GuidedStepSupportHalfScreenActivity)" errorLine1=" Log.v(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java" line="42" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 44 (leanback.GuidedStepSupportHalfScreenActivity)" errorLine1=" Log.v(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java" line="45" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" errorLine1=" Log.v(TAG, "onScrollStateChanged "" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="47" 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, "onChildSelected position=" + position);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="65" 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, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="76" 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, "onNewIntent " + intent);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="90" 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, "createViewHolder " + viewType);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="132" 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, "bindViewHolder " + position + " " + baseHolder);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="144" column="30"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" line="116" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" line="217" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" line="234" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" line="119" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" line="220" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" line="237" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 33 (leanback.PlaybackControlsFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/PlaybackFragment.java" line="66" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 33 (leanback.PlaybackControlsFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java" line="69" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 28 (PlaybackTransportControlGlue)" errorLine1=" Log.e(TAG, "disconnectToMediaSession: Media session disconnected");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java" line="157" column="19"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 28 (leanback.RowsSupportFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/RowsSupportFragment.java" line="51" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 28 (leanback.RowsSupportFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/RowsSupportFragment.java" line="60" 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("Search Query Text Change %s", newQuery));" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/SearchSupportFragment.java" line="110" 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("Search Query Text Submit %s", query));" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/SearchSupportFragment.java" line="118" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/VerticalGridFragment.java" line="51" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/VerticalGridFragment.java" line="94" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)" errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/VerticalGridFragment.java" line="102" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)" errorLine1=" Log.i(TAG, "onCreate");" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java" line="54" column="15"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)" errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java" line="97" column="23"/> </issue> <issue id="LongLogTag" message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)" errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" errorLine2=" ~~~"> <location file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java" line="105" column="23"/> </issue> <issue id="GradleDependency" message="A newer version of com.google.code.gson:gson than 2.6.2 is available: 2.8.0" errorLine1=" implementation 'com.google.code.gson:gson:2.6.2'" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="build.gradle" line="8" column="5"/> </issue> <issue id="PermissionImpliesUnsupportedHardware" message="Permission exists without corresponding hardware `<uses-feature android:name="android.hardware.microphone" required="false">` tag." errorLine1=" <uses-permission android:name="android.permission.RECORD_AUDIO" />" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/AndroidManifest.xml" line="15" column="5"/> </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=" <application" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="19" column="5"/> </issue> <issue id="AllowBackup" message="Should explicitly set `android:allowBackup` to `true` or `false` (it's `true` by default, and that can have some security implications for the application's data)" errorLine1=" <application" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="19" column="5"/> </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<Request, Object, Request> {" errorLine2=" ~~~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/BackgroundHelper.java" line="125" 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="161" 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="169" 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<Object, Object, Bitmap> {" errorLine2=" ~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java" line="54" 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="85" column="19"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/browse.xml" line="18" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/browse_support.xml" line="20" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/details_activity.xml" line="18" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/guided_step_activity.xml" line="19" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/onboarding.xml" line="18" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/playback_activity.xml" line="17" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/playback_activity_support.xml" line="19" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/playback_transportcontrol_activity.xml" line="17" column="1"/> </issue> <issue id="MergeRootFrame" message="This `<FrameLayout>` can be replaced with a `<merge>` tag" errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" errorLine2="^"> <location file="src/main/res/layout/playback_transportcontrol_activity_support.xml" line="19" column="1"/> </issue> <issue id="UnusedResources" message="The resource `R.array.pref_parent_control_entries_summaries` appears to be unused" errorLine1=" <array name="pref_parent_control_entries_summaries">" 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="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 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="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 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=" <string name="playbackoverlay">PlaybackOverlay</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=" <string name="playbackoverlay_description">PlaybackOverlayFragment test</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=" <string name="playbackoverlay_support">PlaybackOverlay(support version)</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=" <string name="playbackoverlay_support_description">PlaybackOverlaySupportFragment test</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=" <string name="legacydetails_off">Use New DetailsPresenter</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=" <string name="legacydetails_on">Use Legacy DetailsPresenter</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=" <string name="guidedstep_fourth_description">Fourth step of guided sequence</string>" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/values/strings.xml" line="99" column="13"/> </issue> <issue id="UselessParent" message="This `LinearLayout` layout or its `RelativeLayout` parent is useless" errorLine1=" <LinearLayout" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="7" column="5"/> </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="GoogleAppIndexingWarning" message="App is not indexable by Google Search; consider adding at least one Activity with an ACTION-VIEW intent filter. See issue explanation for more details." errorLine1=" <application" errorLine2=" ^"> <location file="src/main/AndroidManifest.xml" line="19" column="5"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="15" column="9"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="24" column="9"/> </issue> <issue id="TextFields" message="This text field does not specify an `inputType` or a `hint`" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="33" column="9"/> </issue> <issue id="LabelFor" message="No label views point to this text field with an `android:labelFor="@+id/tv1"` attribute" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="15" column="9"/> </issue> <issue id="LabelFor" message="No label views point to this text field with an `android:labelFor="@+id/tv2"` attribute" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="24" column="9"/> </issue> <issue id="LabelFor" message="No label views point to this text field with an `android:labelFor="@+id/tv3"` attribute" errorLine1=" <EditText" errorLine2=" ^"> <location file="src/main/res/layout/page_fragment.xml" line="33" column="9"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" vh.getSubtitle().setText("2013 - 2014 Drama TV-14");" 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("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do "" 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("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do "" 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=" + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim "" 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=" + "veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo "" 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=" + "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse "" 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=" + "cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non "" 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=" + "proident, sunt in culpa qui officia deserunt mollit anim id est laborum.");" 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("Item "+position);" errorLine2=" ~~~~~~~~~~~~~~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="146" column="50"/> </issue> <issue id="SetTextI18n" message="String literal in `setText` can not be translated. Use Android resources instead." errorLine1=" ((TextView) holder.itemView).setText("Item "+position);" errorLine2=" ~~~~~~~"> <location file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" line="146" column="50"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Header 1", should use `@string` resource" errorLine1=" android:text="Header 1"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/page_fragment.xml" line="19" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Header 2", should use `@string` resource" errorLine1=" android:text="Header 2"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/page_fragment.xml" line="28" column="13"/> </issue> <issue id="HardcodedText" message="Hardcoded string "Header 3", should use `@string` resource" errorLine1=" android:text="Header 3"" 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="true"` to better support right-to-left layouts" errorLine1=" android:layout_alignParentRight="true"" 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="128dp"` to better support right-to-left layouts" errorLine1=" android:layout_marginRight="128dp"" errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> <location file="src/main/res/layout/page_fragment.xml" line="12" column="9"/> </issue> </issues>