1 <?xml version="1.0" encoding="UTF-8"?> 2 <issues format="4" by="lint 3.0.0"> 3 4 <issue 5 id="MissingSuperCall" 6 message="Overriding method should call `super.onPictureInPictureModeChanged`" 7 errorLine1=" public void onPictureInPictureModeChanged(boolean isInPictureInPictureMode) {" 8 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 9 <location 10 file="src/main/java/com/example/android/leanback/PlaybackSupportActivity.java" 11 line="42" 12 column="17"/> 13 </issue> 14 15 <issue 16 id="MissingSuperCall" 17 message="Overriding method should call `super.onPictureInPictureModeChanged`" 18 errorLine1=" public void onPictureInPictureModeChanged(boolean isInPictureInPictureMode) {" 19 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 20 <location 21 file="src/main/java/com/example/android/leanback/PlaybackTransportControlSupportActivity.java" 22 line="42" 23 column="17"/> 24 </issue> 25 26 <issue 27 id="DefaultLocale" 28 message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead" 29 errorLine1=" b.append(String.format("%.2f", ((float) seconds + seconds2)));" 30 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 31 <location 32 file="src/main/java/com/example/android/leanback/PlaybackSeekDataProviderSample.java" 33 line="79" 34 column="18"/> 35 </issue> 36 37 <issue 38 id="NewApi" 39 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" 40 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 41 errorLine2=" ~~~~~~~~~~~~~~~~~"> 42 <location 43 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 44 line="418" 45 column="51"/> 46 </issue> 47 48 <issue 49 id="NewApi" 50 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" 51 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 52 errorLine2=" ~~~~~~~~~~~~~~~~~"> 53 <location 54 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 55 line="418" 56 column="25"/> 57 </issue> 58 59 <issue 60 id="NewApi" 61 message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" 62 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 63 errorLine2=" ~~~~~~~~"> 64 <location 65 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 66 line="418" 67 column="71"/> 68 </issue> 69 70 <issue 71 id="NewApi" 72 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" 73 errorLine1=" if (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {" 74 errorLine2=" ~~~~~~~~~~~~~~~~~"> 75 <location 76 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 77 line="703" 78 column="25"/> 79 </issue> 80 81 <issue 82 id="NewApi" 83 message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#getSpeed" 84 errorLine1=" if (mPlayer.getPlaybackParams().getSpeed() != NORMAL_SPEED) {" 85 errorLine2=" ~~~~~~~~"> 86 <location 87 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 88 line="703" 89 column="45"/> 90 </issue> 91 92 <issue 93 id="NewApi" 94 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" 95 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 96 errorLine2=" ~~~~~~~~~~~~~~~~~"> 97 <location 98 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 99 line="760" 100 column="43"/> 101 </issue> 102 103 <issue 104 id="NewApi" 105 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" 106 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 107 errorLine2=" ~~~~~~~~~~~~~~~~~"> 108 <location 109 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 110 line="760" 111 column="17"/> 112 </issue> 113 114 <issue 115 id="NewApi" 116 message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" 117 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 118 errorLine2=" ~~~~~~~~"> 119 <location 120 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 121 line="760" 122 column="63"/> 123 </issue> 124 125 <issue 126 id="NewApi" 127 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" 128 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 129 errorLine2=" ~~~~~~~~~~~~~~~~~"> 130 <location 131 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 132 line="793" 133 column="43"/> 134 </issue> 135 136 <issue 137 id="NewApi" 138 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" 139 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 140 errorLine2=" ~~~~~~~~~~~~~~~~~"> 141 <location 142 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 143 line="793" 144 column="17"/> 145 </issue> 146 147 <issue 148 id="NewApi" 149 message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" 150 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 151 errorLine2=" ~~~~~~~~"> 152 <location 153 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 154 line="793" 155 column="63"/> 156 </issue> 157 158 <issue 159 id="NewApi" 160 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" 161 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 162 errorLine2=" ~~~~~~~~~~~~~~~~~"> 163 <location 164 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 165 line="835" 166 column="43"/> 167 </issue> 168 169 <issue 170 id="NewApi" 171 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" 172 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 173 errorLine2=" ~~~~~~~~~~~~~~~~~"> 174 <location 175 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 176 line="835" 177 column="17"/> 178 </issue> 179 180 <issue 181 id="NewApi" 182 message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" 183 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 184 errorLine2=" ~~~~~~~~"> 185 <location 186 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 187 line="835" 188 column="63"/> 189 </issue> 190 191 <issue 192 id="NewApi" 193 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#getPlaybackParams" 194 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 195 errorLine2=" ~~~~~~~~~~~~~~~~~"> 196 <location 197 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 198 line="926" 199 column="43"/> 200 </issue> 201 202 <issue 203 id="NewApi" 204 message="Call requires API level 23 (current min is 17): android.media.MediaPlayer#setPlaybackParams" 205 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 206 errorLine2=" ~~~~~~~~~~~~~~~~~"> 207 <location 208 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 209 line="926" 210 column="17"/> 211 </issue> 212 213 <issue 214 id="NewApi" 215 message="Call requires API level 23 (current min is 17): android.media.PlaybackParams#setSpeed" 216 errorLine1=" mPlayer.setPlaybackParams(mPlayer.getPlaybackParams().setSpeed(" 217 errorLine2=" ~~~~~~~~"> 218 <location 219 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 220 line="926" 221 column="63"/> 222 </issue> 223 224 <issue 225 id="NewApi" 226 message="Call requires API level 21 (current min is 17): android.content.Context#getDrawable" 227 errorLine1=" mMediaPlayerGlue.setArt(getActivity().getDrawable(R.drawable.google_map));" 228 errorLine2=" ~~~~~~~~~~~"> 229 <location 230 file="src/main/java/com/example/android/leanback/VideoConsumptionWithDetailCardFragment.java" 231 line="75" 232 column="47"/> 233 </issue> 234 235 <issue 236 id="SdCardPath" 237 message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" 238 errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" 239 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" 242 line="109" 243 column="25"/> 244 </issue> 245 246 <issue 247 id="SdCardPath" 248 message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" 249 errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" 250 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 251 <location 252 file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" 253 line="112" 254 column="25"/> 255 </issue> 256 257 <issue 258 id="SdCardPath" 259 message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" 260 errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" 261 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 262 <location 263 file="src/main/java/com/example/android/leanback/SampleVideoFragment.java" 264 line="79" 265 column="21"/> 266 </issue> 267 268 <issue 269 id="SdCardPath" 270 message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" 271 errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" 272 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 273 <location 274 file="src/main/java/com/example/android/leanback/SampleVideoFragment.java" 275 line="91" 276 column="33"/> 277 </issue> 278 279 <issue 280 id="SdCardPath" 281 message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" 282 errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" 283 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 284 <location 285 file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java" 286 line="82" 287 column="21"/> 288 </issue> 289 290 <issue 291 id="SdCardPath" 292 message="Do not hardcode "/sdcard/"; use `Environment.getExternalStorageDirectory().getPath()` instead" 293 errorLine1=" "/sdcard/seek/frame_%04d.jpg"));" 294 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 295 <location 296 file="src/main/java/com/example/android/leanback/SampleVideoSupportFragment.java" 297 line="94" 298 column="33"/> 299 </issue> 300 301 <issue 302 id="UnusedAttribute" 303 message="Attribute `banner` is only used in API level 21 and higher (current min is 17)" 304 errorLine1=" android:banner="@drawable/ic_launcher"" 305 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 306 <location 307 file="src/main/AndroidManifest.xml" 308 line="22" 309 column="9"/> 310 </issue> 311 312 <issue 313 id="UnusedAttribute" 314 message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 17)" 315 errorLine1=" android:resizeableActivity="true"" 316 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 317 <location 318 file="src/main/AndroidManifest.xml" 319 line="89" 320 column="13"/> 321 </issue> 322 323 <issue 324 id="UnusedAttribute" 325 message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 17)" 326 errorLine1=" android:supportsPictureInPicture="true"" 327 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 328 <location 329 file="src/main/AndroidManifest.xml" 330 line="90" 331 column="13"/> 332 </issue> 333 334 <issue 335 id="UnusedAttribute" 336 message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 17)" 337 errorLine1=" android:resizeableActivity="true"" 338 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 339 <location 340 file="src/main/AndroidManifest.xml" 341 line="97" 342 column="13"/> 343 </issue> 344 345 <issue 346 id="UnusedAttribute" 347 message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 17)" 348 errorLine1=" android:supportsPictureInPicture="true"" 349 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 350 <location 351 file="src/main/AndroidManifest.xml" 352 line="98" 353 column="13"/> 354 </issue> 355 356 <issue 357 id="UnusedAttribute" 358 message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 17)" 359 errorLine1=" android:resizeableActivity="true"" 360 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 361 <location 362 file="src/main/AndroidManifest.xml" 363 line="105" 364 column="13"/> 365 </issue> 366 367 <issue 368 id="UnusedAttribute" 369 message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 17)" 370 errorLine1=" android:supportsPictureInPicture="true"" 371 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 372 <location 373 file="src/main/AndroidManifest.xml" 374 line="106" 375 column="13"/> 376 </issue> 377 378 <issue 379 id="UnusedAttribute" 380 message="Attribute `resizeableActivity` is only used in API level 24 and higher (current min is 17)" 381 errorLine1=" android:resizeableActivity="true"" 382 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 383 <location 384 file="src/main/AndroidManifest.xml" 385 line="113" 386 column="13"/> 387 </issue> 388 389 <issue 390 id="UnusedAttribute" 391 message="Attribute `supportsPictureInPicture` is only used in API level 24 and higher (current min is 17)" 392 errorLine1=" android:supportsPictureInPicture="true"" 393 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 394 <location 395 file="src/main/AndroidManifest.xml" 396 line="114" 397 column="13"/> 398 </issue> 399 400 <issue 401 id="InflateParams" 402 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 403 errorLine1=" View view = getLayoutInflater().inflate(R.layout.horizontal_grid, null, false);" 404 errorLine2=" ~~~~"> 405 <location 406 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 407 line="54" 408 column="75"/> 409 </issue> 410 411 <issue 412 id="LongLogTag" 413 message="The logging tag can be at most 23 characters, was 32 (leanback.BrowseAnimationFragment)" 414 errorLine1=" Log.i(TAG, "onCreate");" 415 errorLine2=" ~~~"> 416 <location 417 file="src/main/java/com/example/android/leanback/BrowseAnimationFragment.java" 418 line="58" 419 column="15"/> 420 </issue> 421 422 <issue 423 id="LongLogTag" 424 message="The logging tag can be at most 23 characters, was 30 (leanback.BrowseSupportFragment)" 425 errorLine1=" Log.i(TAG, "onCreate");" 426 errorLine2=" ~~~"> 427 <location 428 file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java" 429 line="68" 430 column="15"/> 431 </issue> 432 433 <issue 434 id="LongLogTag" 435 message="The logging tag can be at most 23 characters, was 30 (leanback.BrowseSupportFragment)" 436 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 437 errorLine2=" ~~~"> 438 <location 439 file="src/main/java/com/example/android/leanback/BrowseSupportFragment.java" 440 line="91" 441 column="23"/> 442 </issue> 443 444 <issue 445 id="LongLogTag" 446 message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" 447 errorLine1=" Log.i(TAG, "onCreate");" 448 errorLine2=" ~~~"> 449 <location 450 file="src/main/java/com/example/android/leanback/DetailsFragment.java" 451 line="68" 452 column="15"/> 453 </issue> 454 455 <issue 456 id="LongLogTag" 457 message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" 458 errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" 459 errorLine2=" ~~~"> 460 <location 461 file="src/main/java/com/example/android/leanback/DetailsFragment.java" 462 line="135" 463 column="23"/> 464 </issue> 465 466 <issue 467 id="LongLogTag" 468 message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" 469 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 470 errorLine2=" ~~~"> 471 <location 472 file="src/main/java/com/example/android/leanback/DetailsFragment.java" 473 line="152" 474 column="23"/> 475 </issue> 476 477 <issue 478 id="LongLogTag" 479 message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" 480 errorLine1=" Log.i(TAG, "onCreate");" 481 errorLine2=" ~~~"> 482 <location 483 file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java" 484 line="71" 485 column="15"/> 486 </issue> 487 488 <issue 489 id="LongLogTag" 490 message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" 491 errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" 492 errorLine2=" ~~~"> 493 <location 494 file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java" 495 line="138" 496 column="23"/> 497 </issue> 498 499 <issue 500 id="LongLogTag" 501 message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" 502 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 503 errorLine2=" ~~~"> 504 <location 505 file="src/main/java/com/example/android/leanback/DetailsSupportFragment.java" 506 line="155" 507 column="23"/> 508 </issue> 509 510 <issue 511 id="LongLogTag" 512 message="The logging tag can be at most 23 characters, was 29 (leanback.ErrorSupportFragment)" 513 errorLine1=" Log.i(TAG, "onCreate");" 514 errorLine2=" ~~~"> 515 <location 516 file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java" 517 line="31" 518 column="15"/> 519 </issue> 520 521 <issue 522 id="LongLogTag" 523 message="The logging tag can be at most 23 characters, was 29 (leanback.ErrorSupportFragment)" 524 errorLine1=" Log.i(TAG, "button clicked");" 525 errorLine2=" ~~~"> 526 <location 527 file="src/main/java/com/example/android/leanback/ErrorSupportFragment.java" 528 line="45" 529 column="23"/> 530 </issue> 531 532 <issue 533 id="LongLogTag" 534 message="The logging tag can be at most 23 characters, was 44 (leanback.GuidedStepSupportHalfScreenActivity)" 535 errorLine1=" Log.v(TAG, "onCreate");" 536 errorLine2=" ~~~"> 537 <location 538 file="src/main/java/com/example/android/leanback/GuidedStepHalfScreenActivity.java" 539 line="42" 540 column="15"/> 541 </issue> 542 543 <issue 544 id="LongLogTag" 545 message="The logging tag can be at most 23 characters, was 44 (leanback.GuidedStepSupportHalfScreenActivity)" 546 errorLine1=" Log.v(TAG, "onCreate");" 547 errorLine2=" ~~~"> 548 <location 549 file="src/main/java/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java" 550 line="45" 551 column="15"/> 552 </issue> 553 554 <issue 555 id="LongLogTag" 556 message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" 557 errorLine1=" Log.v(TAG, "onScrollStateChanged "" 558 errorLine2=" ~~~"> 559 <location 560 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 561 line="47" 562 column="23"/> 563 </issue> 564 565 <issue 566 id="LongLogTag" 567 message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" 568 errorLine1=" if (DEBUG) Log.d(TAG, "onChildSelected position=" + position);" 569 errorLine2=" ~~~"> 570 <location 571 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 572 line="65" 573 column="42"/> 574 </issue> 575 576 <issue 577 id="LongLogTag" 578 message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" 579 errorLine1=" if (DEBUG) Log.v(TAG, "onCreate");" 580 errorLine2=" ~~~"> 581 <location 582 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 583 line="76" 584 column="26"/> 585 </issue> 586 587 <issue 588 id="LongLogTag" 589 message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" 590 errorLine1=" if (DEBUG) Log.v(TAG, "onNewIntent " + intent);" 591 errorLine2=" ~~~"> 592 <location 593 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 594 line="90" 595 column="26"/> 596 </issue> 597 598 <issue 599 id="LongLogTag" 600 message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" 601 errorLine1=" if (DEBUG) Log.v(TAG, "createViewHolder " + viewType);" 602 errorLine2=" ~~~"> 603 <location 604 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 605 line="132" 606 column="30"/> 607 </issue> 608 609 <issue 610 id="LongLogTag" 611 message="The logging tag can be at most 23 characters, was 26 (HorizontalGridTestActivity)" 612 errorLine1=" if (DEBUG) Log.v(TAG, "bindViewHolder " + position + " " + baseHolder);" 613 errorLine2=" ~~~"> 614 <location 615 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 616 line="144" 617 column="30"/> 618 </issue> 619 620 <issue 621 id="LongLogTag" 622 message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" 623 errorLine1=" Log.i(TAG, "onCreate");" 624 errorLine2=" ~~~"> 625 <location 626 file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" 627 line="116" 628 column="15"/> 629 </issue> 630 631 <issue 632 id="LongLogTag" 633 message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" 634 errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" 635 errorLine2=" ~~~"> 636 <location 637 file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" 638 line="217" 639 column="23"/> 640 </issue> 641 642 <issue 643 id="LongLogTag" 644 message="The logging tag can be at most 23 characters, was 24 (leanback.DetailsFragment)" 645 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 646 errorLine2=" ~~~"> 647 <location 648 file="src/main/java/com/example/android/leanback/NewDetailsFragment.java" 649 line="234" 650 column="23"/> 651 </issue> 652 653 <issue 654 id="LongLogTag" 655 message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" 656 errorLine1=" Log.i(TAG, "onCreate");" 657 errorLine2=" ~~~"> 658 <location 659 file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" 660 line="119" 661 column="15"/> 662 </issue> 663 664 <issue 665 id="LongLogTag" 666 message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" 667 errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" 668 errorLine2=" ~~~"> 669 <location 670 file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" 671 line="220" 672 column="23"/> 673 </issue> 674 675 <issue 676 id="LongLogTag" 677 message="The logging tag can be at most 23 characters, was 31 (leanback.DetailsSupportFragment)" 678 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 679 errorLine2=" ~~~"> 680 <location 681 file="src/main/java/com/example/android/leanback/NewDetailsSupportFragment.java" 682 line="237" 683 column="23"/> 684 </issue> 685 686 <issue 687 id="LongLogTag" 688 message="The logging tag can be at most 23 characters, was 33 (leanback.PlaybackControlsFragment)" 689 errorLine1=" Log.i(TAG, "onCreate");" 690 errorLine2=" ~~~"> 691 <location 692 file="src/main/java/com/example/android/leanback/PlaybackFragment.java" 693 line="66" 694 column="15"/> 695 </issue> 696 697 <issue 698 id="LongLogTag" 699 message="The logging tag can be at most 23 characters, was 33 (leanback.PlaybackControlsFragment)" 700 errorLine1=" Log.i(TAG, "onCreate");" 701 errorLine2=" ~~~"> 702 <location 703 file="src/main/java/com/example/android/leanback/PlaybackSupportFragment.java" 704 line="69" 705 column="15"/> 706 </issue> 707 708 <issue 709 id="LongLogTag" 710 message="The logging tag can be at most 23 characters, was 28 (PlaybackTransportControlGlue)" 711 errorLine1=" Log.e(TAG, "disconnectToMediaSession: Media session disconnected");" 712 errorLine2=" ~~~"> 713 <location 714 file="src/main/java/com/example/android/leanback/PlaybackTransportControlGlueSample.java" 715 line="157" 716 column="19"/> 717 </issue> 718 719 <issue 720 id="LongLogTag" 721 message="The logging tag can be at most 23 characters, was 28 (leanback.RowsSupportFragment)" 722 errorLine1=" Log.i(TAG, "onCreate");" 723 errorLine2=" ~~~"> 724 <location 725 file="src/main/java/com/example/android/leanback/RowsSupportFragment.java" 726 line="51" 727 column="15"/> 728 </issue> 729 730 <issue 731 id="LongLogTag" 732 message="The logging tag can be at most 23 characters, was 28 (leanback.RowsSupportFragment)" 733 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 734 errorLine2=" ~~~"> 735 <location 736 file="src/main/java/com/example/android/leanback/RowsSupportFragment.java" 737 line="60" 738 column="23"/> 739 </issue> 740 741 <issue 742 id="LongLogTag" 743 message="The logging tag can be at most 23 characters, was 30 (leanback.SearchSupportFragment)" 744 errorLine1=" Log.i(TAG, String.format("Search Query Text Change %s", newQuery));" 745 errorLine2=" ~~~"> 746 <location 747 file="src/main/java/com/example/android/leanback/SearchSupportFragment.java" 748 line="110" 749 column="15"/> 750 </issue> 751 752 <issue 753 id="LongLogTag" 754 message="The logging tag can be at most 23 characters, was 30 (leanback.SearchSupportFragment)" 755 errorLine1=" Log.i(TAG, String.format("Search Query Text Submit %s", query));" 756 errorLine2=" ~~~"> 757 <location 758 file="src/main/java/com/example/android/leanback/SearchSupportFragment.java" 759 line="118" 760 column="15"/> 761 </issue> 762 763 <issue 764 id="LongLogTag" 765 message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)" 766 errorLine1=" Log.i(TAG, "onCreate");" 767 errorLine2=" ~~~"> 768 <location 769 file="src/main/java/com/example/android/leanback/VerticalGridFragment.java" 770 line="51" 771 column="15"/> 772 </issue> 773 774 <issue 775 id="LongLogTag" 776 message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)" 777 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 778 errorLine2=" ~~~"> 779 <location 780 file="src/main/java/com/example/android/leanback/VerticalGridFragment.java" 781 line="94" 782 column="23"/> 783 </issue> 784 785 <issue 786 id="LongLogTag" 787 message="The logging tag can be at most 23 characters, was 29 (leanback.VerticalGridFragment)" 788 errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" 789 errorLine2=" ~~~"> 790 <location 791 file="src/main/java/com/example/android/leanback/VerticalGridFragment.java" 792 line="102" 793 column="23"/> 794 </issue> 795 796 <issue 797 id="LongLogTag" 798 message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)" 799 errorLine1=" Log.i(TAG, "onCreate");" 800 errorLine2=" ~~~"> 801 <location 802 file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java" 803 line="54" 804 column="15"/> 805 </issue> 806 807 <issue 808 id="LongLogTag" 809 message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)" 810 errorLine1=" Log.i(TAG, "onItemSelected: " + item + " row " + row);" 811 errorLine2=" ~~~"> 812 <location 813 file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java" 814 line="97" 815 column="23"/> 816 </issue> 817 818 <issue 819 id="LongLogTag" 820 message="The logging tag can be at most 23 characters, was 36 (leanback.VerticalGridSupportFragment)" 821 errorLine1=" Log.i(TAG, "onItemClicked: " + item + " row " + row);" 822 errorLine2=" ~~~"> 823 <location 824 file="src/main/java/com/example/android/leanback/VerticalGridSupportFragment.java" 825 line="105" 826 column="23"/> 827 </issue> 828 829 <issue 830 id="GradleDependency" 831 message="A newer version of com.google.code.gson:gson than 2.6.2 is available: 2.8.0" 832 errorLine1=" implementation 'com.google.code.gson:gson:2.6.2'" 833 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 834 <location 835 file="build.gradle" 836 line="8" 837 column="5"/> 838 </issue> 839 840 <issue 841 id="PermissionImpliesUnsupportedHardware" 842 message="Permission exists without corresponding hardware `<uses-feature android:name="android.hardware.microphone" required="false">` tag." 843 errorLine1=" <uses-permission android:name="android.permission.RECORD_AUDIO" />" 844 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 845 <location 846 file="src/main/AndroidManifest.xml" 847 line="15" 848 column="5"/> 849 </issue> 850 851 <issue 852 id="AllowBackup" 853 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" 854 errorLine1=" <application" 855 errorLine2=" ^"> 856 <location 857 file="src/main/AndroidManifest.xml" 858 line="19" 859 column="5"/> 860 </issue> 861 862 <issue 863 id="AllowBackup" 864 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)" 865 errorLine1=" <application" 866 errorLine2=" ^"> 867 <location 868 file="src/main/AndroidManifest.xml" 869 line="19" 870 column="5"/> 871 </issue> 872 873 <issue 874 id="StaticFieldLeak" 875 message="This AsyncTask class should be static or leaks might occur (com.example.android.leanback.BackgroundHelper.LoadBitmapTaskBase)" 876 errorLine1=" class LoadBitmapTaskBase extends AsyncTask<Request, Object, Request> {" 877 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 878 <location 879 file="src/main/java/com/example/android/leanback/BackgroundHelper.java" 880 line="125" 881 column="11"/> 882 </issue> 883 884 <issue 885 id="StaticFieldLeak" 886 message="This AsyncTask class should be static or leaks might occur (com.example.android.leanback.BackgroundHelper.LoadBitmapIntoBackgroundManagerTask)" 887 errorLine1=" class LoadBitmapIntoBackgroundManagerTask extends LoadBitmapTaskBase {" 888 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 889 <location 890 file="src/main/java/com/example/android/leanback/BackgroundHelper.java" 891 line="161" 892 column="11"/> 893 </issue> 894 895 <issue 896 id="StaticFieldLeak" 897 message="This AsyncTask class should be static or leaks might occur (com.example.android.leanback.BackgroundHelper.LoadBitmapCallbackTask)" 898 errorLine1=" class LoadBitmapCallbackTask extends LoadBitmapTaskBase {" 899 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 900 <location 901 file="src/main/java/com/example/android/leanback/BackgroundHelper.java" 902 line="169" 903 column="11"/> 904 </issue> 905 906 <issue 907 id="StaticFieldLeak" 908 message="This AsyncTask class should be static or leaks might occur (com.example.android.leanback.PlaybackSeekAsyncDataProvider.LoadBitmapTask)" 909 errorLine1=" class LoadBitmapTask extends AsyncTask<Object, Object, Bitmap> {" 910 errorLine2=" ~~~~~~~~~~~~~~"> 911 <location 912 file="src/main/java/com/example/android/leanback/PlaybackSeekAsyncDataProvider.java" 913 line="54" 914 column="11"/> 915 </issue> 916 917 <issue 918 id="HandlerLeak" 919 message="This Handler class should be static or leaks might occur (com.example.android.leanback.MediaSessionService.MediaPlayerAudioHandler)" 920 errorLine1=" private class MediaPlayerAudioHandler extends Handler {" 921 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 922 <location 923 file="src/main/java/com/example/android/leanback/MediaSessionService.java" 924 line="85" 925 column="19"/> 926 </issue> 927 928 <issue 929 id="MergeRootFrame" 930 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 931 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 932 errorLine2="^"> 933 <location 934 file="src/main/res/layout/browse.xml" 935 line="18" 936 column="1"/> 937 </issue> 938 939 <issue 940 id="MergeRootFrame" 941 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 942 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 943 errorLine2="^"> 944 <location 945 file="src/main/res/layout/browse_support.xml" 946 line="20" 947 column="1"/> 948 </issue> 949 950 <issue 951 id="MergeRootFrame" 952 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 953 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 954 errorLine2="^"> 955 <location 956 file="src/main/res/layout/details_activity.xml" 957 line="18" 958 column="1"/> 959 </issue> 960 961 <issue 962 id="MergeRootFrame" 963 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 964 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 965 errorLine2="^"> 966 <location 967 file="src/main/res/layout/guided_step_activity.xml" 968 line="19" 969 column="1"/> 970 </issue> 971 972 <issue 973 id="MergeRootFrame" 974 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 975 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 976 errorLine2="^"> 977 <location 978 file="src/main/res/layout/onboarding.xml" 979 line="18" 980 column="1"/> 981 </issue> 982 983 <issue 984 id="MergeRootFrame" 985 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 986 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 987 errorLine2="^"> 988 <location 989 file="src/main/res/layout/playback_activity.xml" 990 line="17" 991 column="1"/> 992 </issue> 993 994 <issue 995 id="MergeRootFrame" 996 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 997 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 998 errorLine2="^"> 999 <location 1000 file="src/main/res/layout/playback_activity_support.xml" 1001 line="19" 1002 column="1"/> 1003 </issue> 1004 1005 <issue 1006 id="MergeRootFrame" 1007 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 1008 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1009 errorLine2="^"> 1010 <location 1011 file="src/main/res/layout/playback_transportcontrol_activity.xml" 1012 line="17" 1013 column="1"/> 1014 </issue> 1015 1016 <issue 1017 id="MergeRootFrame" 1018 message="This `<FrameLayout>` can be replaced with a `<merge>` tag" 1019 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1020 errorLine2="^"> 1021 <location 1022 file="src/main/res/layout/playback_transportcontrol_activity_support.xml" 1023 line="19" 1024 column="1"/> 1025 </issue> 1026 1027 <issue 1028 id="UnusedResources" 1029 message="The resource `R.array.pref_parent_control_entries_summaries` appears to be unused" 1030 errorLine1=" <array name="pref_parent_control_entries_summaries">" 1031 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1032 <location 1033 file="src/main/res/values/arrays.xml" 1034 line="46" 1035 column="12"/> 1036 </issue> 1037 1038 <issue 1039 id="UnusedResources" 1040 message="The resource `R.raw.browse` appears to be unused"> 1041 <location 1042 file="src/main/res/raw/browse.mp4"/> 1043 </issue> 1044 1045 <issue 1046 id="UnusedResources" 1047 message="The resource `R.drawable.details_img` appears to be unused"> 1048 <location 1049 file="src/main/res/drawable/details_img.png"/> 1050 </issue> 1051 1052 <issue 1053 id="UnusedResources" 1054 message="The resource `R.drawable.google_android` appears to be unused"> 1055 <location 1056 file="src/main/res/drawable/google_android.png"/> 1057 </issue> 1058 1059 <issue 1060 id="UnusedResources" 1061 message="The resource `R.drawable.google_logo` appears to be unused"> 1062 <location 1063 file="src/main/res/drawable/google_logo.png"/> 1064 </issue> 1065 1066 <issue 1067 id="UnusedResources" 1068 message="The resource `R.drawable.google_photo` appears to be unused"> 1069 <location 1070 file="src/main/res/drawable/google_photo.jpeg"/> 1071 </issue> 1072 1073 <issue 1074 id="UnusedResources" 1075 message="The resource `R.drawable.ic_guidedstep_option_a` appears to be unused"> 1076 <location 1077 file="src/main/res/drawable/ic_guidedstep_option_a.png"/> 1078 </issue> 1079 1080 <issue 1081 id="UnusedResources" 1082 message="The resource `R.drawable.ic_guidedstep_option_b` appears to be unused"> 1083 <location 1084 file="src/main/res/drawable/ic_guidedstep_option_b.png"/> 1085 </issue> 1086 1087 <issue 1088 id="UnusedResources" 1089 message="The resource `R.drawable.ic_guidedstep_option_c` appears to be unused"> 1090 <location 1091 file="src/main/res/drawable/ic_guidedstep_option_c.png"/> 1092 </issue> 1093 1094 <issue 1095 id="UnusedResources" 1096 message="The resource `R.drawable.ic_settings_wifi_3_bar` appears to be unused"> 1097 <location 1098 file="src/main/res/drawable-xhdpi/ic_settings_wifi_3_bar.png"/> 1099 </issue> 1100 1101 <issue 1102 id="UnusedResources" 1103 message="The resource `R.raw.media0` appears to be unused"> 1104 <location 1105 file="src/main/res/raw/media0.mp3"/> 1106 </issue> 1107 1108 <issue 1109 id="UnusedResources" 1110 message="The resource `R.raw.media1` appears to be unused"> 1111 <location 1112 file="src/main/res/raw/media1.mp3"/> 1113 </issue> 1114 1115 <issue 1116 id="UnusedResources" 1117 message="The resource `R.layout.playback_controls` appears to be unused" 1118 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1119 errorLine2="^"> 1120 <location 1121 file="src/main/res/layout/playback_controls.xml" 1122 line="17" 1123 column="1"/> 1124 </issue> 1125 1126 <issue 1127 id="UnusedResources" 1128 message="The resource `R.layout.playback_controls_support` appears to be unused" 1129 errorLine1="<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"" 1130 errorLine2="^"> 1131 <location 1132 file="src/main/res/layout/playback_controls_support.xml" 1133 line="19" 1134 column="1"/> 1135 </issue> 1136 1137 <issue 1138 id="UnusedResources" 1139 message="The resource `R.string.playbackoverlay` appears to be unused" 1140 errorLine1=" <string name="playbackoverlay">PlaybackOverlay</string>" 1141 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1142 <location 1143 file="src/main/res/values/strings.xml" 1144 line="53" 1145 column="13"/> 1146 </issue> 1147 1148 <issue 1149 id="UnusedResources" 1150 message="The resource `R.string.playbackoverlay_description` appears to be unused" 1151 errorLine1=" <string name="playbackoverlay_description">PlaybackOverlayFragment test</string>" 1152 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1153 <location 1154 file="src/main/res/values/strings.xml" 1155 line="54" 1156 column="13"/> 1157 </issue> 1158 1159 <issue 1160 id="UnusedResources" 1161 message="The resource `R.string.playbackoverlay_support` appears to be unused" 1162 errorLine1=" <string name="playbackoverlay_support">PlaybackOverlay(support version)</string>" 1163 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1164 <location 1165 file="src/main/res/values/strings.xml" 1166 line="55" 1167 column="13"/> 1168 </issue> 1169 1170 <issue 1171 id="UnusedResources" 1172 message="The resource `R.string.playbackoverlay_support_description` appears to be unused" 1173 errorLine1=" <string name="playbackoverlay_support_description">PlaybackOverlaySupportFragment test</string>" 1174 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1175 <location 1176 file="src/main/res/values/strings.xml" 1177 line="56" 1178 column="13"/> 1179 </issue> 1180 1181 <issue 1182 id="UnusedResources" 1183 message="The resource `R.string.legacydetails_off` appears to be unused" 1184 errorLine1=" <string name="legacydetails_off">Use New DetailsPresenter</string>" 1185 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~"> 1186 <location 1187 file="src/main/res/values/strings.xml" 1188 line="75" 1189 column="13"/> 1190 </issue> 1191 1192 <issue 1193 id="UnusedResources" 1194 message="The resource `R.string.legacydetails_on` appears to be unused" 1195 errorLine1=" <string name="legacydetails_on">Use Legacy DetailsPresenter</string>" 1196 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 1197 <location 1198 file="src/main/res/values/strings.xml" 1199 line="76" 1200 column="13"/> 1201 </issue> 1202 1203 <issue 1204 id="UnusedResources" 1205 message="The resource `R.string.guidedstep_fourth_description` appears to be unused" 1206 errorLine1=" <string name="guidedstep_fourth_description">Fourth step of guided sequence</string>" 1207 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1208 <location 1209 file="src/main/res/values/strings.xml" 1210 line="99" 1211 column="13"/> 1212 </issue> 1213 1214 <issue 1215 id="UselessParent" 1216 message="This `LinearLayout` layout or its `RelativeLayout` parent is useless" 1217 errorLine1=" <LinearLayout" 1218 errorLine2=" ^"> 1219 <location 1220 file="src/main/res/layout/page_fragment.xml" 1221 line="7" 1222 column="5"/> 1223 </issue> 1224 1225 <issue 1226 id="IconColors" 1227 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"> 1228 <location 1229 file="src/main/res/drawable/ic_action_a.png"/> 1230 </issue> 1231 1232 <issue 1233 id="IconLocation" 1234 message="Found bitmap drawable `res/drawable/details_img.png` in densityless folder"> 1235 <location 1236 file="src/main/res/drawable/details_img.png"/> 1237 </issue> 1238 1239 <issue 1240 id="IconLocation" 1241 message="Found bitmap drawable `res/drawable/details_img_16x9.png` in densityless folder"> 1242 <location 1243 file="src/main/res/drawable/details_img_16x9.png"/> 1244 </issue> 1245 1246 <issue 1247 id="IconLocation" 1248 message="Found bitmap drawable `res/drawable/gallery_photo_1.jpg` in densityless folder"> 1249 <location 1250 file="src/main/res/drawable/gallery_photo_1.jpg"/> 1251 </issue> 1252 1253 <issue 1254 id="IconLocation" 1255 message="Found bitmap drawable `res/drawable/gallery_photo_2.jpg` in densityless folder"> 1256 <location 1257 file="src/main/res/drawable/gallery_photo_2.jpg"/> 1258 </issue> 1259 1260 <issue 1261 id="IconLocation" 1262 message="Found bitmap drawable `res/drawable/gallery_photo_3.jpg` in densityless folder"> 1263 <location 1264 file="src/main/res/drawable/gallery_photo_3.jpg"/> 1265 </issue> 1266 1267 <issue 1268 id="IconLocation" 1269 message="Found bitmap drawable `res/drawable/gallery_photo_4.jpg` in densityless folder"> 1270 <location 1271 file="src/main/res/drawable/gallery_photo_4.jpg"/> 1272 </issue> 1273 1274 <issue 1275 id="IconLocation" 1276 message="Found bitmap drawable `res/drawable/gallery_photo_5.jpg` in densityless folder"> 1277 <location 1278 file="src/main/res/drawable/gallery_photo_5.jpg"/> 1279 </issue> 1280 1281 <issue 1282 id="IconLocation" 1283 message="Found bitmap drawable `res/drawable/gallery_photo_6.jpg` in densityless folder"> 1284 <location 1285 file="src/main/res/drawable/gallery_photo_6.jpg"/> 1286 </issue> 1287 1288 <issue 1289 id="IconLocation" 1290 message="Found bitmap drawable `res/drawable/gallery_photo_7.jpg` in densityless folder"> 1291 <location 1292 file="src/main/res/drawable/gallery_photo_7.jpg"/> 1293 </issue> 1294 1295 <issue 1296 id="IconLocation" 1297 message="Found bitmap drawable `res/drawable/gallery_photo_8.jpg` in densityless folder"> 1298 <location 1299 file="src/main/res/drawable/gallery_photo_8.jpg"/> 1300 </issue> 1301 1302 <issue 1303 id="IconLocation" 1304 message="Found bitmap drawable `res/drawable/google_android.png` in densityless folder"> 1305 <location 1306 file="src/main/res/drawable/google_android.png"/> 1307 </issue> 1308 1309 <issue 1310 id="IconLocation" 1311 message="Found bitmap drawable `res/drawable/google_logo.png` in densityless folder"> 1312 <location 1313 file="src/main/res/drawable/google_logo.png"/> 1314 </issue> 1315 1316 <issue 1317 id="IconLocation" 1318 message="Found bitmap drawable `res/drawable/google_map.jpg` in densityless folder"> 1319 <location 1320 file="src/main/res/drawable/google_map.jpg"/> 1321 </issue> 1322 1323 <issue 1324 id="IconLocation" 1325 message="Found bitmap drawable `res/drawable/google_photo.jpeg` in densityless folder"> 1326 <location 1327 file="src/main/res/drawable/google_photo.jpeg"/> 1328 </issue> 1329 1330 <issue 1331 id="IconLocation" 1332 message="Found bitmap drawable `res/drawable/ic_action_a.png` in densityless folder"> 1333 <location 1334 file="src/main/res/drawable/ic_action_a.png"/> 1335 </issue> 1336 1337 <issue 1338 id="IconLocation" 1339 message="Found bitmap drawable `res/drawable/ic_guidedstep_option_a.png` in densityless folder"> 1340 <location 1341 file="src/main/res/drawable/ic_guidedstep_option_a.png"/> 1342 </issue> 1343 1344 <issue 1345 id="IconLocation" 1346 message="Found bitmap drawable `res/drawable/ic_guidedstep_option_b.png` in densityless folder"> 1347 <location 1348 file="src/main/res/drawable/ic_guidedstep_option_b.png"/> 1349 </issue> 1350 1351 <issue 1352 id="IconLocation" 1353 message="Found bitmap drawable `res/drawable/ic_guidedstep_option_c.png` in densityless folder"> 1354 <location 1355 file="src/main/res/drawable/ic_guidedstep_option_c.png"/> 1356 </issue> 1357 1358 <issue 1359 id="IconLocation" 1360 message="Found bitmap drawable `res/drawable/ic_title.png` in densityless folder"> 1361 <location 1362 file="src/main/res/drawable/ic_title.png"/> 1363 </issue> 1364 1365 <issue 1366 id="IconLocation" 1367 message="Found bitmap drawable `res/drawable/spiderman.jpg` in densityless folder"> 1368 <location 1369 file="src/main/res/drawable/spiderman.jpg"/> 1370 </issue> 1371 1372 <issue 1373 id="IconDensities" 1374 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)"> 1375 <location 1376 file="src/main/res/drawable-hdpi"/> 1377 </issue> 1378 1379 <issue 1380 id="IconDensities" 1381 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)"> 1382 <location 1383 file="src/main/res/drawable-mdpi"/> 1384 </issue> 1385 1386 <issue 1387 id="IconMissingDensityFolder" 1388 message="Missing density variation folders in `src/main/res`: drawable-xxhdpi"> 1389 <location 1390 file="src/main/res"/> 1391 </issue> 1392 1393 <issue 1394 id="GoogleAppIndexingWarning" 1395 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." 1396 errorLine1=" <application" 1397 errorLine2=" ^"> 1398 <location 1399 file="src/main/AndroidManifest.xml" 1400 line="19" 1401 column="5"/> 1402 </issue> 1403 1404 <issue 1405 id="TextFields" 1406 message="This text field does not specify an `inputType` or a `hint`" 1407 errorLine1=" <EditText" 1408 errorLine2=" ^"> 1409 <location 1410 file="src/main/res/layout/page_fragment.xml" 1411 line="15" 1412 column="9"/> 1413 </issue> 1414 1415 <issue 1416 id="TextFields" 1417 message="This text field does not specify an `inputType` or a `hint`" 1418 errorLine1=" <EditText" 1419 errorLine2=" ^"> 1420 <location 1421 file="src/main/res/layout/page_fragment.xml" 1422 line="24" 1423 column="9"/> 1424 </issue> 1425 1426 <issue 1427 id="TextFields" 1428 message="This text field does not specify an `inputType` or a `hint`" 1429 errorLine1=" <EditText" 1430 errorLine2=" ^"> 1431 <location 1432 file="src/main/res/layout/page_fragment.xml" 1433 line="33" 1434 column="9"/> 1435 </issue> 1436 1437 <issue 1438 id="LabelFor" 1439 message="No label views point to this text field with an `android:labelFor="@+id/tv1"` attribute" 1440 errorLine1=" <EditText" 1441 errorLine2=" ^"> 1442 <location 1443 file="src/main/res/layout/page_fragment.xml" 1444 line="15" 1445 column="9"/> 1446 </issue> 1447 1448 <issue 1449 id="LabelFor" 1450 message="No label views point to this text field with an `android:labelFor="@+id/tv2"` attribute" 1451 errorLine1=" <EditText" 1452 errorLine2=" ^"> 1453 <location 1454 file="src/main/res/layout/page_fragment.xml" 1455 line="24" 1456 column="9"/> 1457 </issue> 1458 1459 <issue 1460 id="LabelFor" 1461 message="No label views point to this text field with an `android:labelFor="@+id/tv3"` attribute" 1462 errorLine1=" <EditText" 1463 errorLine2=" ^"> 1464 <location 1465 file="src/main/res/layout/page_fragment.xml" 1466 line="33" 1467 column="9"/> 1468 </issue> 1469 1470 <issue 1471 id="SetTextI18n" 1472 message="String literal in `setText` can not be translated. Use Android resources instead." 1473 errorLine1=" vh.getSubtitle().setText("2013 - 2014 Drama TV-14");" 1474 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1475 <location 1476 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1477 line="23" 1478 column="34"/> 1479 </issue> 1480 1481 <issue 1482 id="SetTextI18n" 1483 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 1484 errorLine1=" vh.getBody().setText("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do "" 1485 errorLine2=" ^"> 1486 <location 1487 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1488 line="24" 1489 column="30"/> 1490 </issue> 1491 1492 <issue 1493 id="SetTextI18n" 1494 message="String literal in `setText` can not be translated. Use Android resources instead." 1495 errorLine1=" vh.getBody().setText("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do "" 1496 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1497 <location 1498 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1499 line="24" 1500 column="30"/> 1501 </issue> 1502 1503 <issue 1504 id="SetTextI18n" 1505 message="String literal in `setText` can not be translated. Use Android resources instead." 1506 errorLine1=" + "eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim "" 1507 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1508 <location 1509 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1510 line="25" 1511 column="19"/> 1512 </issue> 1513 1514 <issue 1515 id="SetTextI18n" 1516 message="String literal in `setText` can not be translated. Use Android resources instead." 1517 errorLine1=" + "veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo "" 1518 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1519 <location 1520 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1521 line="26" 1522 column="19"/> 1523 </issue> 1524 1525 <issue 1526 id="SetTextI18n" 1527 message="String literal in `setText` can not be translated. Use Android resources instead." 1528 errorLine1=" + "consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse "" 1529 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1530 <location 1531 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1532 line="27" 1533 column="19"/> 1534 </issue> 1535 1536 <issue 1537 id="SetTextI18n" 1538 message="String literal in `setText` can not be translated. Use Android resources instead." 1539 errorLine1=" + "cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non "" 1540 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1541 <location 1542 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1543 line="28" 1544 column="19"/> 1545 </issue> 1546 1547 <issue 1548 id="SetTextI18n" 1549 message="String literal in `setText` can not be translated. Use Android resources instead." 1550 errorLine1=" + "proident, sunt in culpa qui officia deserunt mollit anim id est laborum.");" 1551 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1552 <location 1553 file="src/main/java/com/example/android/leanback/DetailsDescriptionPresenter.java" 1554 line="29" 1555 column="19"/> 1556 </issue> 1557 1558 <issue 1559 id="SetTextI18n" 1560 message="Do not concatenate text displayed with `setText`. Use resource string with placeholders." 1561 errorLine1=" ((TextView) holder.itemView).setText("Item "+position);" 1562 errorLine2=" ~~~~~~~~~~~~~~~~"> 1563 <location 1564 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 1565 line="146" 1566 column="50"/> 1567 </issue> 1568 1569 <issue 1570 id="SetTextI18n" 1571 message="String literal in `setText` can not be translated. Use Android resources instead." 1572 errorLine1=" ((TextView) holder.itemView).setText("Item "+position);" 1573 errorLine2=" ~~~~~~~"> 1574 <location 1575 file="src/main/java/com/example/android/leanback/HorizontalGridTestActivity.java" 1576 line="146" 1577 column="50"/> 1578 </issue> 1579 1580 <issue 1581 id="HardcodedText" 1582 message="Hardcoded string "Header 1", should use `@string` resource" 1583 errorLine1=" android:text="Header 1"" 1584 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 1585 <location 1586 file="src/main/res/layout/page_fragment.xml" 1587 line="19" 1588 column="13"/> 1589 </issue> 1590 1591 <issue 1592 id="HardcodedText" 1593 message="Hardcoded string "Header 2", should use `@string` resource" 1594 errorLine1=" android:text="Header 2"" 1595 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 1596 <location 1597 file="src/main/res/layout/page_fragment.xml" 1598 line="28" 1599 column="13"/> 1600 </issue> 1601 1602 <issue 1603 id="HardcodedText" 1604 message="Hardcoded string "Header 3", should use `@string` resource" 1605 errorLine1=" android:text="Header 3"" 1606 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 1607 <location 1608 file="src/main/res/layout/page_fragment.xml" 1609 line="37" 1610 column="13"/> 1611 </issue> 1612 1613 <issue 1614 id="RtlHardcoded" 1615 message="Consider replacing `android:layout_alignParentRight` with `android:layout_alignParentEnd="true"` to better support right-to-left layouts" 1616 errorLine1=" android:layout_alignParentRight="true"" 1617 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1618 <location 1619 file="src/main/res/layout/page_fragment.xml" 1620 line="11" 1621 column="9"/> 1622 </issue> 1623 1624 <issue 1625 id="RtlHardcoded" 1626 message="Consider replacing `android:layout_marginRight` with `android:layout_marginEnd="128dp"` to better support right-to-left layouts" 1627 errorLine1=" android:layout_marginRight="128dp"" 1628 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1629 <location 1630 file="src/main/res/layout/page_fragment.xml" 1631 line="12" 1632 column="9"/> 1633 </issue> 1634 1635 </issues> 1636