1<?xml version="1.0" encoding="UTF-8"?> 2<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08"> 3 4 <issue 5 id="NonInjectedMainThread" 6 message="Replace with injected `@Main Executor`." 7 errorLine1=" getMainLooper()," 8 errorLine2=" ~~~~~~~~~~~~~"> 9 <location 10 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 11 line="421" 12 column="21"/> 13 </issue> 14 15 <issue 16 id="NonInjectedMainThread" 17 message="Replace with injected `@Main Executor`." 18 errorLine1=" getMainLooper()," 19 errorLine2=" ~~~~~~~~~~~~~"> 20 <location 21 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 22 line="431" 23 column="25"/> 24 </issue> 25 26 <issue 27 id="NonInjectedMainThread" 28 message="Replace with injected `@Main Executor`." 29 errorLine1=" getMainLooper()," 30 errorLine2=" ~~~~~~~~~~~~~"> 31 <location 32 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 33 line="517" 34 column="21"/> 35 </issue> 36 37 <issue 38 id="NonInjectedMainThread" 39 message="Replace with injected `@Main Executor`." 40 errorLine1=" getMainLooper()," 41 errorLine2=" ~~~~~~~~~~~~~"> 42 <location 43 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 44 line="526" 45 column="25"/> 46 </issue> 47 48 <issue 49 id="NonInjectedMainThread" 50 message="Replace with injected `@Main Executor`." 51 errorLine1=" getMainLooper()," 52 errorLine2=" ~~~~~~~~~~~~~"> 53 <location 54 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 55 line="722" 56 column="17"/> 57 </issue> 58 59 <issue 60 id="NonInjectedMainThread" 61 message="Replace with injected `@Main Executor`." 62 errorLine1=" getMainLooper()," 63 errorLine2=" ~~~~~~~~~~~~~"> 64 <location 65 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 66 line="733" 67 column="21"/> 68 </issue> 69 70 <issue 71 id="NonInjectedMainThread" 72 message="Replace with injected `@Main Executor`." 73 errorLine1=" getMainThreadHandler())) {" 74 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 75 <location 76 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 77 line="1684" 78 column="17"/> 79 </issue> 80 81 <issue 82 id="NonInjectedMainThread" 83 message="Replace with injected `@Main Executor`." 84 errorLine1=" getMainThreadHandler().post(() -> {" 85 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 86 <location 87 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 88 line="2199" 89 column="13"/> 90 </issue> 91 92 <issue 93 id="NonInjectedMainThread" 94 message="Replace with injected `@Main Executor`." 95 errorLine1=" context.getMainExecutor()," 96 errorLine2=" ~~~~~~~~~~~~~~~"> 97 <location 98 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 99 line="192" 100 column="25"/> 101 </issue> 102 103 <issue 104 id="NonInjectedMainThread" 105 message="Replace with injected `@Main Executor`." 106 errorLine1=" }, getApplicationContext().getMainExecutor());" 107 errorLine2=" ~~~~~~~~~~~~~~~"> 108 <location 109 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/IntentForwarderActivity.java" 110 line="161" 111 column="44"/> 112 </issue> 113 114 <issue 115 id="NonInjectedMainThread" 116 message="Replace with injected `@Main Executor`." 117 errorLine1=" getMainLooper()," 118 errorLine2=" ~~~~~~~~~~~~~"> 119 <location 120 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 121 line="297" 122 column="21"/> 123 </issue> 124 125 <issue 126 id="NonInjectedMainThread" 127 message="Replace with injected `@Main Executor`." 128 errorLine1=" getMainLooper()," 129 errorLine2=" ~~~~~~~~~~~~~"> 130 <location 131 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 132 line="307" 133 column="25"/> 134 </issue> 135 136 <issue 137 id="NonInjectedMainThread" 138 message="Replace with injected `@Main Executor`." 139 errorLine1=" getMainLooper()," 140 errorLine2=" ~~~~~~~~~~~~~"> 141 <location 142 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 143 line="374" 144 column="17"/> 145 </issue> 146 147 <issue 148 id="NonInjectedMainThread" 149 message="Replace with injected `@Main Executor`." 150 errorLine1=" getMainLooper()," 151 errorLine2=" ~~~~~~~~~~~~~"> 152 <location 153 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 154 line="383" 155 column="21"/> 156 </issue> 157 158 <issue 159 id="NonInjectedMainThread" 160 message="Replace with injected `@Main Executor`." 161 errorLine1=" runnable -> context.getMainThreadHandler().post(runnable));" 162 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 163 <location 164 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 165 line="127" 166 column="37"/> 167 </issue> 168 169 <issue 170 id="WrongCommentType" 171 message="This block comment looks like it was intended to be a javadoc comment" 172 errorLine1=" * {@link MultiProfilePagerAdapter.OnProfileSelectedListener}. The only apparent distinctions" 173 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 174 <location 175 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 176 line="821" 177 column="8"/> 178 </issue> 179 180 <issue 181 id="CleanArchitectureDependencyViolation" 182 message="The ui layer may not depend on the data layer." 183 errorLine1="import com.android.intentresolver.data.model.ANDROID_APP_SCHEME" 184 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 185 <location 186 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/model/ActivityModel.kt" 187 line="23" 188 column="1"/> 189 </issue> 190 191 <issue 192 id="CleanArchitectureDependencyViolation" 193 message="The ui layer may not depend on the data layer." 194 errorLine1="import com.android.intentresolver.data.model.ChooserRequest" 195 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 196 <location 197 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/ChooserRequestReader.kt" 198 line="45" 199 column="1"/> 200 </issue> 201 202 <issue 203 id="CleanArchitectureDependencyViolation" 204 message="The ui layer may not depend on the data layer." 205 errorLine1="import com.android.intentresolver.data.model.ChooserRequest" 206 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 207 <location 208 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/ChooserViewModel.kt" 209 line="25" 210 column="1"/> 211 </issue> 212 213 <issue 214 id="CleanArchitectureDependencyViolation" 215 message="The ui layer may not depend on the data layer." 216 errorLine1="import com.android.intentresolver.data.repository.ChooserRequestRepository" 217 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 218 <location 219 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/ChooserViewModel.kt" 220 line="26" 221 column="1"/> 222 </issue> 223 224 <issue 225 id="CleanArchitectureDependencyViolation" 226 message="The ui layer may not depend on the data layer." 227 errorLine1="import com.android.intentresolver.data.repository.DevicePolicyResources" 228 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 229 <location 230 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/ProfilePagerResources.kt" 231 line="21" 232 column="1"/> 233 </issue> 234 235 <issue 236 id="CleanArchitectureDependencyViolation" 237 message="The domain layer may not depend on the ui layer." 238 errorLine1="import com.android.intentresolver.ui.viewmodel.readAlternateIntents" 239 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 240 <location 241 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/SelectionChangeCallback.kt" 242 line="40" 243 column="1"/> 244 </issue> 245 246 <issue 247 id="CleanArchitectureDependencyViolation" 248 message="The domain layer may not depend on the ui layer." 249 errorLine1="import com.android.intentresolver.ui.viewmodel.readChooserActions" 250 errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 251 <location 252 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/update/SelectionChangeCallback.kt" 253 line="41" 254 column="1"/> 255 </issue> 256 257 <issue 258 id="NonInjectedService" 259 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 260 errorLine1=" (UsageStatsManager) userContext.getSystemService(Context.USAGE_STATS_SERVICE));" 261 errorLine2=" ~~~~~~~~~~~~~~~~"> 262 <location 263 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/model/AbstractResolverComparator.java" 264 line="136" 265 column="53"/> 266 </issue> 267 268 <issue 269 id="NonInjectedService" 270 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 271 errorLine1=" .getSystemService(AppPredictionManager::class.java)" 272 errorLine2=" ~~~~~~~~~~~~~~~~"> 273 <location 274 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/AppPredictorFactory.kt" 275 line="66" 276 column="14"/> 277 </issue> 278 279 <issue 280 id="NonInjectedService" 281 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 282 errorLine1=" (UserManager) context.getSystemService(Context.USER_SERVICE);" 283 errorLine2=" ~~~~~~~~~~~~~~~~"> 284 <location 285 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 286 line="289" 287 column="47"/> 288 </issue> 289 290 <issue 291 id="NonInjectedService" 292 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 293 errorLine1=" getContext().getSystemService(LauncherApps.class).pinShortcuts(" 294 errorLine2=" ~~~~~~~~~~~~~~~~"> 295 <location 296 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserTargetActionsDialogFragment.java" 297 line="226" 298 column="22"/> 299 </issue> 300 301 <issue 302 id="NonInjectedService" 303 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 304 errorLine1=" List<ShortcutManager.ShareShortcutInfo> targets = contextAsUser.getSystemService(" 305 errorLine2=" ~~~~~~~~~~~~~~~~"> 306 <location 307 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserTargetActionsDialogFragment.java" 308 line="233" 309 column="73"/> 310 </issue> 311 312 <issue 313 id="NonInjectedService" 314 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 315 errorLine1=" .getSystemService(ACTIVITY_SERVICE);" 316 errorLine2=" ~~~~~~~~~~~~~~~~"> 317 <location 318 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserTargetActionsDialogFragment.java" 319 line="279" 320 column="18"/> 321 </issue> 322 323 <issue 324 id="NonInjectedService" 325 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 326 errorLine1=" context.getSystemService(ActivityManager::class.java)?.launcherLargeIconDensity" 327 errorLine2=" ~~~~~~~~~~~~~~~~"> 328 <location 329 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/DefaultTargetDataLoader.kt" 330 line="47" 331 column="21"/> 332 </issue> 333 334 <issue 335 id="NonInjectedService" 336 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 337 errorLine1=" return getSystemService(DevicePolicyManager.class).getResources().getString(" 338 errorLine2=" ~~~~~~~~~~~~~~~~"> 339 <location 340 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/IntentForwarderActivity.java" 341 line="165" 342 column="16"/> 343 </issue> 344 345 <issue 346 id="NonInjectedService" 347 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 348 errorLine1=" return getSystemService(DevicePolicyManager.class).getResources().getString(" 349 errorLine2=" ~~~~~~~~~~~~~~~~"> 350 <location 351 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/IntentForwarderActivity.java" 352 line="171" 353 column="16"/> 354 </issue> 355 356 <issue 357 id="NonInjectedService" 358 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 359 errorLine1=" return getSystemService(UserManager.class);" 360 errorLine2=" ~~~~~~~~~~~~~~~~"> 361 <location 362 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/IntentForwarderActivity.java" 363 line="402" 364 column="20"/> 365 </issue> 366 367 <issue 368 id="NonInjectedService" 369 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 370 errorLine1=" LauncherApps launcherApps = context.getSystemService(LauncherApps.class);" 371 errorLine2=" ~~~~~~~~~~~~~~~~"> 372 <location 373 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/LoadDirectShareIconTask.java" 374 line="100" 375 column="49"/> 376 </issue> 377 378 <issue 379 id="NonInjectedService" 380 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 381 errorLine1=" return mContext.getSystemService(DevicePolicyManager.class).getResources().getString(" 382 errorLine2=" ~~~~~~~~~~~~~~~~"> 383 <location 384 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/NoCrossProfileEmptyStateProvider.java" 385 line="127" 386 column="29"/> 387 </issue> 388 389 <issue 390 id="NonInjectedService" 391 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 392 errorLine1=" return mContext.getSystemService(DevicePolicyManager.class).getResources().getString(" 393 errorLine2=" ~~~~~~~~~~~~~~~~"> 394 <location 395 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/NoCrossProfileEmptyStateProvider.java" 396 line="135" 397 column="29"/> 398 </issue> 399 400 <issue 401 id="NonInjectedService" 402 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 403 errorLine1=" (UserManager) mContext.getSystemService(Context.USER_SERVICE);" 404 errorLine2=" ~~~~~~~~~~~~~~~~"> 405 <location 406 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 407 line="503" 408 column="52"/> 409 </issue> 410 411 <issue 412 id="NonInjectedService" 413 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 414 errorLine1=" private val userManager = context.getSystemService(Context.USER_SERVICE) as UserManager" 415 errorLine2=" ~~~~~~~~~~~~~~~~"> 416 <location 417 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ShortcutLoader.kt" 418 line="77" 419 column="39"/> 420 </issue> 421 422 <issue 423 id="NonInjectedService" 424 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 425 errorLine1=" selectedProfileContext.getSystemService(Context.SHORTCUT_SERVICE) as ShortcutManager?" 426 errorLine2=" ~~~~~~~~~~~~~~~~"> 427 <location 428 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ShortcutLoader.kt" 429 line="209" 430 column="36"/> 431 </issue> 432 433 <issue 434 id="NonInjectedService" 435 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 436 errorLine1=" final ActivityManager am = (ActivityManager) ctx.getSystemService(ACTIVITY_SERVICE);" 437 errorLine2=" ~~~~~~~~~~~~~~~~"> 438 <location 439 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/SimpleIconFactory.java" 440 line="98" 441 column="62"/> 442 </issue> 443 444 <issue 445 id="NonInjectedService" 446 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 447 errorLine1=" return requireNotNull(context.getSystemService(serviceType.java))" 448 errorLine2=" ~~~~~~~~~~~~~~~~"> 449 <location 450 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/data/repository/UserScopedService.kt" 451 line="65" 452 column="39"/> 453 </issue> 454 455 <issue 456 id="NonInjectedService" 457 message="Use `@Inject` to get system-level service handles instead of `Context.getSystemService()`" 458 errorLine1=" String title = mContext.getSystemService(DevicePolicyManager.class)" 459 errorLine2=" ~~~~~~~~~~~~~~~~"> 460 <location 461 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/WorkProfilePausedEmptyStateProvider.java" 462 line="83" 463 column="33"/> 464 </issue> 465 466 <issue 467 id="StaticSettingsProvider" 468 message="`@Inject` a GlobalSettings instead" 469 errorLine1=" return Settings.Global.getInt(getContentResolver()," 470 errorLine2=" ~~~~~~"> 471 <location 472 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/IntentForwarderActivity.java" 473 line="280" 474 column="32"/> 475 </issue> 476 477 <issue 478 id="StaticSettingsProvider" 479 message="`@Inject` a SecureSettings instead" 480 errorLine1=" return Settings.Secure.getString(resolver, name)" 481 errorLine2=" ~~~~~~~~~"> 482 <location 483 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/platform/PlatformSecureSettings.kt" 484 line="32" 485 column="32"/> 486 </issue> 487 488 <issue 489 id="StaticSettingsProvider" 490 message="`@Inject` a SecureSettings instead" 491 errorLine1=" return runCatching { Settings.Secure.getInt(resolver, name) }.getOrNull()" 492 errorLine2=" ~~~~~~"> 493 <location 494 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/platform/PlatformSecureSettings.kt" 495 line="36" 496 column="46"/> 497 </issue> 498 499 <issue 500 id="StaticSettingsProvider" 501 message="`@Inject` a SecureSettings instead" 502 errorLine1=" return runCatching { Settings.Secure.getLong(resolver, name) }.getOrNull()" 503 errorLine2=" ~~~~~~~"> 504 <location 505 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/platform/PlatformSecureSettings.kt" 506 line="40" 507 column="46"/> 508 </issue> 509 510 <issue 511 id="StaticSettingsProvider" 512 message="`@Inject` a SecureSettings instead" 513 errorLine1=" return runCatching { Settings.Secure.getFloat(resolver, name) }.getOrNull()" 514 errorLine2=" ~~~~~~~~"> 515 <location 516 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/platform/PlatformSecureSettings.kt" 517 line="44" 518 column="46"/> 519 </issue> 520 521 <issue 522 id="StaticSettingsProvider" 523 message="`@Inject` a SecureSettings instead" 524 errorLine1=" return Settings.Secure.getString(resolver, name)" 525 errorLine2=" ~~~~~~~~~"> 526 <location 527 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/SecureSettings.kt" 528 line="25" 529 column="32"/> 530 </issue> 531 532 <issue 533 id="CanvasSize" 534 message="Calling `Canvas.getWidth()` is usually wrong; you should be calling `getWidth()` instead" 535 errorLine1=" int xPos = canvas.getWidth() / 2;" 536 errorLine2=" ~~~~~~~~~~~~~~~~~"> 537 <location 538 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/RoundedRectImageView.java" 539 line="134" 540 column="24"/> 541 </issue> 542 543 <issue 544 id="CanvasSize" 545 message="Calling `Canvas.getHeight()` is usually wrong; you should be calling `getHeight()` instead" 546 errorLine1=" int yPos = (int) ((canvas.getHeight() / 2.0f)" 547 errorLine2=" ~~~~~~~~~~~~~~~~~~"> 548 <location 549 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/RoundedRectImageView.java" 550 line="135" 551 column="32"/> 552 </issue> 553 554 <issue 555 id="CustomViewStyleable" 556 message="By convention, the declare-styleable (`ResolverDrawerLayout_LayoutParams`) for a layout parameter class (`LayoutParams`) is expected to be the surrounding class (`ResolverDrawerLayout`) plus "`_Layout`", e.g. `ResolverDrawerLayout_Layout`. (Various editor features rely on this convention.)" 557 errorLine1=" R.styleable.ResolverDrawerLayout_LayoutParams);" 558 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 559 <location 560 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ResolverDrawerLayout.java" 561 line="1222" 562 column="21"/> 563 </issue> 564 565 <issue 566 id="InconsistentLayout" 567 message="The id "edit" in layout "image_preview_image_item" is missing from the following layout configurations: layout (present in layout-h480dp)" 568 errorLine1=" android:id="@+id/edit"" 569 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 570 <location 571 file="packages/modules/IntentResolver/java/res/layout-h480dp/image_preview_image_item.xml" 572 line="58" 573 column="9" 574 message="Occurrence in layout-h480dp"/> 575 </issue> 576 577 <issue 578 id="MissingConstraints" 579 message="This view is not constrained vertically: at runtime it will jump to the top unless you add a vertical constraint" 580 errorLine1=" <TextView" 581 errorLine2=" ~~~~~~~~"> 582 <location 583 file="packages/modules/IntentResolver/java/res/layout/chooser_headline_row.xml" 584 line="27" 585 column="6"/> 586 </issue> 587 588 <issue 589 id="MissingConstraints" 590 message="This view is not constrained horizontally: at runtime it will jump to the left unless you add a horizontal constraint" 591 errorLine1=" <com.android.intentresolver.widget.RoundedRectImageView" 592 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 593 <location 594 file="packages/modules/IntentResolver/java/res/layout-h480dp/image_preview_image_item.xml" 595 line="24" 596 column="6"/> 597 </issue> 598 599 <issue 600 id="InflateParams" 601 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 602 errorLine1=" R.layout.resolver_different_item_header, null, false);" 603 errorLine2=" ~~~~"> 604 <location 605 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 606 line="1197" 607 column="62"/> 608 </issue> 609 610 <issue 611 id="InflateParams" 612 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 613 errorLine1=" ? (ViewGroup) inflater.inflate(R.layout.chooser_list_per_profile_wrap, null, false)" 614 errorLine2=" ~~~~"> 615 <location 616 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ChooserMultiProfilePagerAdapter.java" 617 line="123" 618 column="88"/> 619 </issue> 620 621 <issue 622 id="InflateParams" 623 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 624 errorLine1=" : (ViewGroup) inflater.inflate(R.layout.chooser_list_per_profile, null, false);" 625 errorLine2=" ~~~~"> 626 <location 627 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ChooserMultiProfilePagerAdapter.java" 628 line="124" 629 column="83"/> 630 </issue> 631 632 <issue 633 id="InflateParams" 634 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 635 errorLine1=" R.layout.resolver_different_item_header, null, false);" 636 errorLine2=" ~~~~"> 637 <location 638 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 639 line="853" 640 column="62"/> 641 </issue> 642 643 <issue 644 id="InflateParams" 645 message="Avoid passing `null` as the view root (needed to resolve layout parameters on the inflated layout's root element)" 646 errorLine1=" R.layout.resolver_list_per_profile, null, false)," 647 errorLine2=" ~~~~"> 648 <location 649 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ResolverMultiProfilePagerAdapter.java" 650 line="80" 651 column="69"/> 652 </issue> 653 654 <issue 655 id="ManifestOrder" 656 message="`<uses-sdk>` tag appears after `<application>` tag" 657 errorLine1=" <uses-sdk android:minSdkVersion="VanillaIceCream" android:targetSdkVersion="16"/>" 658 errorLine2=" ~~~~~~~~"> 659 <location 660 file="./out/soong/.intermediates/packages/modules/IntentResolver/IntentResolver-core/android_common/e18b8e8d84cb9f664aa09a397b08c165/manifest_fixer/AndroidManifest.xml" 661 line="22" 662 column="6"/> 663 </issue> 664 665 <issue 666 id="MissingInflatedId" 667 message="`@layout/chooser_dialog` does not contain a declaration with id `title`" 668 errorLine1=" TextView title = v.findViewById(com.android.internal.R.id.title);" 669 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 670 <location 671 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserTargetActionsDialogFragment.java" 672 line="133" 673 column="41"/> 674 </issue> 675 676 <issue 677 id="MissingInflatedId" 678 message="`@layout/chooser_dialog` does not contain a declaration with id `icon`" 679 errorLine1=" ImageView icon = v.findViewById(com.android.internal.R.id.icon);" 680 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 681 <location 682 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserTargetActionsDialogFragment.java" 683 line="134" 684 column="41"/> 685 </issue> 686 687 <issue 688 id="MissingInflatedId" 689 message="`@layout/chooser_dialog` does not contain a declaration with id `listContainer`" 690 errorLine1=" RecyclerView rv = v.findViewById(com.android.internal.R.id.listContainer);" 691 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 692 <location 693 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserTargetActionsDialogFragment.java" 694 line="135" 695 column="42"/> 696 </issue> 697 698 <issue 699 id="VisibleForTests" 700 message="This method should only be accessed from tests or within private scope" 701 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter().handlePackagesChanged();" 702 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 703 <location 704 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 705 line="437" 706 column="42"/> 707 </issue> 708 709 <issue 710 id="VisibleForTests" 711 message="This method should only be accessed from tests or within private scope" 712 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter().hasFilteredItem()" 713 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 714 <location 715 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 716 line="559" 717 column="54"/> 718 </issue> 719 720 <issue 721 id="VisibleForTests" 722 message="This method should only be accessed from tests or within private scope" 723 errorLine1=" int count = mChooserMultiProfilePagerAdapter.getActiveListAdapter().getUnfilteredCount();" 724 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 725 <location 726 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 727 line="761" 728 column="54"/> 729 </issue> 730 731 <issue 732 id="VisibleForTests" 733 message="This method should only be accessed from tests or within private scope" 734 errorLine1=" if (mChooserMultiProfilePagerAdapter.getActiveListAdapter().getOtherProfile() != null) {" 735 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 736 <location 737 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 738 line="766" 739 column="46"/> 740 </issue> 741 742 <issue 743 id="VisibleForTests" 744 message="This method should only be accessed from tests or within private scope" 745 errorLine1=" final TargetInfo target = mChooserMultiProfilePagerAdapter.getActiveListAdapter()" 746 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 747 <location 748 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 749 line="771" 750 column="68"/> 751 </issue> 752 753 <issue 754 id="VisibleForTests" 755 message="This method should only be accessed from tests or within private scope" 756 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter().getFilteredPosition() >= 0;" 757 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 758 <location 759 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 760 line="900" 761 column="50"/> 762 </issue> 763 764 <issue 765 id="VisibleForTests" 766 message="This method should only be accessed from tests or within private scope" 767 errorLine1=" .getActiveListAdapter().getFilteredItem()))" 768 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 769 <location 770 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 771 line="909" 772 column="38"/> 773 </issue> 774 775 <issue 776 id="VisibleForTests" 777 message="This method should only be accessed from tests or within private scope" 778 errorLine1=" int count = mChooserMultiProfilePagerAdapter.getActiveListAdapter().getCount();" 779 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 780 <location 781 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 782 line="1133" 783 column="54"/> 784 </issue> 785 786 <issue 787 id="VisibleForTests" 788 message="This method should only be accessed from tests or within private scope" 789 errorLine1=" TargetInfo target = mChooserMultiProfilePagerAdapter.getActiveListAdapter().getItem(i);" 790 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 791 <location 792 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 793 line="1136" 794 column="66"/> 795 </issue> 796 797 <issue 798 id="VisibleForTests" 799 message="This method should only be accessed from tests or within private scope" 800 errorLine1=" if (mChooserMultiProfilePagerAdapter.getActiveListAdapter() == null) {" 801 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 802 <location 803 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 804 line="1155" 805 column="46"/> 806 </issue> 807 808 <issue 809 id="VisibleForTests" 810 message="This method should only be accessed from tests or within private scope" 811 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter();" 812 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 813 <location 814 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 815 line="1206" 816 column="50"/> 817 </issue> 818 819 <issue 820 id="VisibleForTests" 821 message="This method should only be accessed from tests or within private scope" 822 errorLine1=" int count = mChooserMultiProfilePagerAdapter.getActiveListAdapter().getUnfilteredCount();" 823 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 824 <location 825 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 826 line="1217" 827 column="54"/> 828 </issue> 829 830 <issue 831 id="VisibleForTests" 832 message="This method should only be accessed from tests or within private scope" 833 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter().handlePackagesChanged();" 834 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 835 <location 836 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 837 line="1483" 838 column="42"/> 839 </issue> 840 841 <issue 842 id="VisibleForTests" 843 message="This method should only be accessed from tests or within private scope" 844 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter().addServiceResults(" 845 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 846 <location 847 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 848 line="1623" 849 column="50"/> 850 </issue> 851 852 <issue 853 id="VisibleForTests" 854 message="This method should only be accessed from tests or within private scope" 855 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter();" 856 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 857 <location 858 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 859 line="1699" 860 column="50"/> 861 </issue> 862 863 <issue 864 id="VisibleForTests" 865 message="This method should only be accessed from tests or within private scope" 866 errorLine1=" TargetInfo target = mChooserMultiProfilePagerAdapter.getActiveListAdapter()" 867 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 868 <location 869 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 870 line="1724" 871 column="62"/> 872 </issue> 873 874 <issue 875 id="VisibleForTests" 876 message="This method should only be accessed from tests or within private scope" 877 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter().hasFilteredItem()" 878 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 879 <location 880 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 881 line="1731" 882 column="58"/> 883 </issue> 884 885 <issue 886 id="VisibleForTests" 887 message="This method should only be accessed from tests or within private scope" 888 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter();" 889 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 890 <location 891 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 892 line="1801" 893 column="50"/> 894 </issue> 895 896 <issue 897 id="VisibleForTests" 898 message="This method should only be accessed from tests or within private scope" 899 errorLine1=" mChooserMultiProfilePagerAdapter.getActiveListAdapter();" 900 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 901 <location 902 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 903 line="1838" 904 column="58"/> 905 </issue> 906 907 <issue 908 id="VisibleForTests" 909 message="This method should only be accessed from tests or within private scope" 910 errorLine1=" mChooserMultiProfilePagerAdapter.getCurrentUserHandle());" 911 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 912 <location 913 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 914 line="1886" 915 column="50"/> 916 </issue> 917 918 <issue 919 id="VisibleForTests" 920 message="This method should only be accessed from tests or within private scope" 921 errorLine1=" mChooserMultiProfilePagerAdapter.getCurrentUserHandle());" 922 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 923 <location 924 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 925 line="1914" 926 column="50"/> 927 </issue> 928 929 <issue 930 id="VisibleForTests" 931 message="This method should only be accessed from tests or within private scope" 932 errorLine1=" .getActiveListAdapter()" 933 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 934 <location 935 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 936 line="1981" 937 column="34"/> 938 </issue> 939 940 <issue 941 id="VisibleForTests" 942 message="This method should only be accessed from tests or within private scope" 943 errorLine1=" if (mChooserMultiProfilePagerAdapter.getCurrentUserHandle().equals(" 944 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 945 <location 946 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 947 line="2041" 948 column="46"/> 949 </issue> 950 951 <issue 952 id="VisibleForTests" 953 message="This method should only be accessed from tests or within private scope" 954 errorLine1=" if (listProfileUserHandle.equals(mChooserMultiProfilePagerAdapter.getCurrentUserHandle())) {" 955 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 956 <location 957 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 958 line="2288" 959 column="75"/> 960 </issue> 961 962 <issue 963 id="VisibleForTests" 964 message="This method should only be accessed from tests or within private scope" 965 errorLine1=" if (mChooserMultiProfilePagerAdapter.getActiveListAdapter() == adapter) {" 966 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 967 <location 968 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserActivity.java" 969 line="2351" 970 column="46"/> 971 </issue> 972 973 <issue 974 id="VisibleForTests" 975 message="This class should only be accessed from tests or within private scope" 976 errorLine1=" final ViewHolder vh = (ViewHolder) v.getTag();" 977 errorLine2=" ~~~~~~~~~~"> 978 <location 979 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 980 line="414" 981 column="23"/> 982 </issue> 983 984 <issue 985 id="VisibleForTests" 986 message="This class should only be accessed from tests or within private scope" 987 errorLine1=" final ViewHolder vh = (ViewHolder) v.getTag();" 988 errorLine2=" ~~~~~~~~~~"> 989 <location 990 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 991 line="414" 992 column="40"/> 993 </issue> 994 995 <issue 996 id="VisibleForTests" 997 message="This method should only be accessed from tests or within private scope" 998 errorLine1=" vh.text.setLines(2);" 999 errorLine2=" ~~~~"> 1000 <location 1001 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 1002 line="415" 1003 column="20"/> 1004 </issue> 1005 1006 <issue 1007 id="VisibleForTests" 1008 message="This method should only be accessed from tests or within private scope" 1009 errorLine1=" vh.text.setHorizontallyScrolling(false);" 1010 errorLine2=" ~~~~"> 1011 <location 1012 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 1013 line="416" 1014 column="20"/> 1015 </issue> 1016 1017 <issue 1018 id="VisibleForTests" 1019 message="This method should only be accessed from tests or within private scope" 1020 errorLine1=" vh.text2.setVisibility(View.GONE);" 1021 errorLine2=" ~~~~~"> 1022 <location 1023 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 1024 line="417" 1025 column="20"/> 1026 </issue> 1027 1028 <issue 1029 id="VisibleForTests" 1030 message="This class should only be accessed from tests or within private scope" 1031 errorLine1=" private void resetViewHolder(ViewHolder holder) {" 1032 errorLine2=" ~~~~~~~~~~"> 1033 <location 1034 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1035 line="432" 1036 column="34"/> 1037 </issue> 1038 1039 <issue 1040 id="VisibleForTests" 1041 message="This method should only be accessed from tests or within private scope" 1042 errorLine1=" holder.reset();" 1043 errorLine2=" ~~~~~"> 1044 <location 1045 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1046 line="433" 1047 column="16"/> 1048 </issue> 1049 1050 <issue 1051 id="VisibleForTests" 1052 message="This method should only be accessed from tests or within private scope" 1053 errorLine1=" holder.itemView.setBackground(holder.defaultItemViewBackground);" 1054 errorLine2=" ~~~~~~~~"> 1055 <location 1056 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1057 line="434" 1058 column="16"/> 1059 </issue> 1060 1061 <issue 1062 id="VisibleForTests" 1063 message="This method should only be accessed from tests or within private scope" 1064 errorLine1=" holder.itemView.setBackground(holder.defaultItemViewBackground);" 1065 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 1066 <location 1067 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1068 line="434" 1069 column="46"/> 1070 </issue> 1071 1072 <issue 1073 id="VisibleForTests" 1074 message="This method should only be accessed from tests or within private scope" 1075 errorLine1=" ((BadgeTextView) holder.text).setBadgeDrawable(null);" 1076 errorLine2=" ~~~~"> 1077 <location 1078 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1079 line="437" 1080 column="37"/> 1081 </issue> 1082 1083 <issue 1084 id="VisibleForTests" 1085 message="This method should only be accessed from tests or within private scope" 1086 errorLine1=" holder.text.setBackground(null);" 1087 errorLine2=" ~~~~"> 1088 <location 1089 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1090 line="439" 1091 column="16"/> 1092 </issue> 1093 1094 <issue 1095 id="VisibleForTests" 1096 message="This method should only be accessed from tests or within private scope" 1097 errorLine1=" holder.text.setPaddingRelative(0, 0, 0, 0);" 1098 errorLine2=" ~~~~"> 1099 <location 1100 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1101 line="440" 1102 column="16"/> 1103 </issue> 1104 1105 <issue 1106 id="VisibleForTests" 1107 message="This class should only be accessed from tests or within private scope" 1108 errorLine1=" private void updateContentDescription(ViewHolder holder, String description) {" 1109 errorLine2=" ~~~~~~~~~~"> 1110 <location 1111 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1112 line="443" 1113 column="43"/> 1114 </issue> 1115 1116 <issue 1117 id="VisibleForTests" 1118 message="This method should only be accessed from tests or within private scope" 1119 errorLine1=" holder.itemView.setContentDescription(description);" 1120 errorLine2=" ~~~~~~~~"> 1121 <location 1122 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1123 line="444" 1124 column="16"/> 1125 </issue> 1126 1127 <issue 1128 id="VisibleForTests" 1129 message="This class should only be accessed from tests or within private scope" 1130 errorLine1=" private void bindPlaceholder(ViewHolder holder) {" 1131 errorLine2=" ~~~~~~~~~~"> 1132 <location 1133 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1134 line="447" 1135 column="34"/> 1136 </issue> 1137 1138 <issue 1139 id="VisibleForTests" 1140 message="This method should only be accessed from tests or within private scope" 1141 errorLine1=" holder.itemView.setBackground(null);" 1142 errorLine2=" ~~~~~~~~"> 1143 <location 1144 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1145 line="448" 1146 column="16"/> 1147 </issue> 1148 1149 <issue 1150 id="VisibleForTests" 1151 message="This class should only be accessed from tests or within private scope" 1152 errorLine1=" private void bindGroupIndicator(ViewHolder holder, Drawable indicator) {" 1153 errorLine2=" ~~~~~~~~~~"> 1154 <location 1155 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1156 line="451" 1157 column="37"/> 1158 </issue> 1159 1160 <issue 1161 id="VisibleForTests" 1162 message="This method should only be accessed from tests or within private scope" 1163 errorLine1=" ((BadgeTextView) holder.text).setBadgeDrawable(indicator);" 1164 errorLine2=" ~~~~"> 1165 <location 1166 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1167 line="453" 1168 column="37"/> 1169 </issue> 1170 1171 <issue 1172 id="VisibleForTests" 1173 message="This method should only be accessed from tests or within private scope" 1174 errorLine1=" holder.text.setPaddingRelative(0, 0, /*end = */indicator.getIntrinsicWidth(), 0);" 1175 errorLine2=" ~~~~"> 1176 <location 1177 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1178 line="455" 1179 column="20"/> 1180 </issue> 1181 1182 <issue 1183 id="VisibleForTests" 1184 message="This method should only be accessed from tests or within private scope" 1185 errorLine1=" holder.text.setBackground(indicator);" 1186 errorLine2=" ~~~~"> 1187 <location 1188 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1189 line="456" 1190 column="20"/> 1191 </issue> 1192 1193 <issue 1194 id="VisibleForTests" 1195 message="This class should only be accessed from tests or within private scope" 1196 errorLine1=" private void bindPinnedIndicator(ViewHolder holder, Drawable indicator) {" 1197 errorLine2=" ~~~~~~~~~~"> 1198 <location 1199 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1200 line="460" 1201 column="38"/> 1202 </issue> 1203 1204 <issue 1205 id="VisibleForTests" 1206 message="This method should only be accessed from tests or within private scope" 1207 errorLine1=" holder.text.setPaddingRelative(/*start = */indicator.getIntrinsicWidth(), 0, 0, 0);" 1208 errorLine2=" ~~~~"> 1209 <location 1210 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1211 line="461" 1212 column="16"/> 1213 </issue> 1214 1215 <issue 1216 id="VisibleForTests" 1217 message="This method should only be accessed from tests or within private scope" 1218 errorLine1=" holder.text.setBackground(indicator);" 1219 errorLine2=" ~~~~"> 1220 <location 1221 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 1222 line="462" 1223 column="16"/> 1224 </issue> 1225 1226 <issue 1227 id="VisibleForTests" 1228 message="This method should only be accessed from tests or within private scope" 1229 errorLine1=" getPageAdapterForIndex(i).setAzLabelVisibility(!isCollapsed);" 1230 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1231 <location 1232 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ChooserMultiProfilePagerAdapter.java" 1233 line="115" 1234 column="13"/> 1235 </issue> 1236 1237 <issue 1238 id="VisibleForTests" 1239 message="This method should only be accessed from tests or within private scope" 1240 errorLine1=" getActiveListAdapter().notifyDataSetChanged();" 1241 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1242 <location 1243 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ChooserMultiProfilePagerAdapter.java" 1244 line="135" 1245 column="9"/> 1246 </issue> 1247 1248 <issue 1249 id="VisibleForTests" 1250 message="This method should only be accessed from tests or within private scope" 1251 errorLine1=" getPageAdapterForIndex(i).setFooterHeight(height);" 1252 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1253 <location 1254 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ChooserMultiProfilePagerAdapter.java" 1255 line="150" 1256 column="13"/> 1257 </issue> 1258 1259 <issue 1260 id="VisibleForTests" 1261 message="This method should only be accessed from tests or within private scope" 1262 errorLine1=" ChooserGridAdapter adapter = getPageAdapterForIndex(i);" 1263 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1264 <location 1265 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/profiles/ChooserMultiProfilePagerAdapter.java" 1266 line="157" 1267 column="42"/> 1268 </issue> 1269 1270 <issue 1271 id="VisibleForTests" 1272 message="This method should only be accessed from tests or within private scope" 1273 errorLine1=" /* instance_id = 3 */ mInstanceId.getId()," 1274 errorLine2=" ~~~~~"> 1275 <location 1276 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/EventLogImpl.java" 1277 line="96" 1278 column="51"/> 1279 </issue> 1280 1281 <issue 1282 id="VisibleForTests" 1283 message="This method should only be accessed from tests or within private scope" 1284 errorLine1=" /* instance_id = 3 */ mInstanceId.getId()," 1285 errorLine2=" ~~~~~"> 1286 <location 1287 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/EventLogImpl.java" 1288 line="118" 1289 column="51"/> 1290 </issue> 1291 1292 <issue 1293 id="VisibleForTests" 1294 message="This method should only be accessed from tests or within private scope" 1295 errorLine1=" /* instance_id = 3 */ mInstanceId.getId()," 1296 errorLine2=" ~~~~~"> 1297 <location 1298 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/EventLogImpl.java" 1299 line="142" 1300 column="51"/> 1301 </issue> 1302 1303 <issue 1304 id="VisibleForTests" 1305 message="This method should only be accessed from tests or within private scope" 1306 errorLine1=" /* instance_id = 3 */ mInstanceId.getId()," 1307 errorLine2=" ~~~~~"> 1308 <location 1309 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/logging/EventLogImpl.java" 1310 line="200" 1311 column="51"/> 1312 </issue> 1313 1314 <issue 1315 id="VisibleForTests" 1316 message="This class should only be accessed from tests or within private scope" 1317 errorLine1=" private final ResolverListAdapter.ViewHolder mWrappedViewHolder;" 1318 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1319 <location 1320 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ItemViewHolder.java" 1321 line="36" 1322 column="19"/> 1323 </issue> 1324 1325 <issue 1326 id="VisibleForTests" 1327 message="This method should only be accessed from tests or within private scope" 1328 errorLine1=" mWrappedViewHolder = new ResolverListAdapter.ViewHolder(itemView);" 1329 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1330 <location 1331 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ItemViewHolder.java" 1332 line="46" 1333 column="30"/> 1334 </issue> 1335 1336 <issue 1337 id="VisibleForTests" 1338 message="This method should only be accessed from tests or within private scope" 1339 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter().handlePackagesChanged();" 1340 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1341 <location 1342 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1343 line="313" 1344 column="35"/> 1345 </issue> 1346 1347 <issue 1348 id="VisibleForTests" 1349 message="This method should only be accessed from tests or within private scope" 1350 errorLine1=" && mMultiProfilePagerAdapter.getActiveListAdapter() != null) {" 1351 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1352 <location 1353 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1354 line="323" 1355 column="46"/> 1356 </issue> 1357 1358 <issue 1359 id="VisibleForTests" 1360 message="This method should only be accessed from tests or within private scope" 1361 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter().onDestroy();" 1362 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1363 <location 1364 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1365 line="324" 1366 column="39"/> 1367 </issue> 1368 1369 <issue 1370 id="VisibleForTests" 1371 message="This method should only be accessed from tests or within private scope" 1372 errorLine1=" MetricsLogger.action(this, mMultiProfilePagerAdapter.getActiveListAdapter().hasFilteredItem()" 1373 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1374 <location 1375 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1376 line="415" 1377 column="62"/> 1378 </issue> 1379 1380 <issue 1381 id="VisibleForTests" 1382 message="This method should only be accessed from tests or within private scope" 1383 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter().handlePackagesChanged();" 1384 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1385 <location 1386 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1387 line="540" 1388 column="35"/> 1389 </issue> 1390 1391 <issue 1392 id="VisibleForTests" 1393 message="This method should only be accessed from tests or within private scope" 1394 errorLine1=" ResolverListAdapter currentListAdapter = mMultiProfilePagerAdapter.getActiveListAdapter();" 1395 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1396 <location 1397 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1398 line="560" 1399 column="76"/> 1400 </issue> 1401 1402 <issue 1403 id="VisibleForTests" 1404 message="This method should only be accessed from tests or within private scope" 1405 errorLine1=" ResolveInfo ri = mMultiProfilePagerAdapter.getActiveListAdapter()" 1406 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1407 <location 1408 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1409 line="572" 1410 column="52"/> 1411 </issue> 1412 1413 <issue 1414 id="VisibleForTests" 1415 message="This method should only be accessed from tests or within private scope" 1416 errorLine1=" TargetInfo target = mMultiProfilePagerAdapter.getActiveListAdapter()" 1417 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1418 <location 1419 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1420 line="582" 1421 column="55"/> 1422 </issue> 1423 1424 <issue 1425 id="VisibleForTests" 1426 message="This method should only be accessed from tests or within private scope" 1427 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter().hasFilteredItem()" 1428 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1429 <location 1430 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1431 line="596" 1432 column="47"/> 1433 </issue> 1434 1435 <issue 1436 id="VisibleForTests" 1437 message="This method should only be accessed from tests or within private scope" 1438 errorLine1=" && mMultiProfilePagerAdapter.getActiveListAdapter().getUnfilteredResolveList()" 1439 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1440 <location 1441 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1442 line="627" 1443 column="46"/> 1444 </issue> 1445 1446 <issue 1447 id="VisibleForTests" 1448 message="This method should only be accessed from tests or within private scope" 1449 errorLine1=" final int N = mMultiProfilePagerAdapter.getActiveListAdapter()" 1450 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1451 <location 1452 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1453 line="713" 1454 column="57"/> 1455 </issue> 1456 1457 <issue 1458 id="VisibleForTests" 1459 message="This method should only be accessed from tests or within private scope" 1460 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter().getOtherProfile() != null;" 1461 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1462 <location 1463 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1464 line="720" 1465 column="51"/> 1466 </issue> 1467 1468 <issue 1469 id="VisibleForTests" 1470 message="This method should only be accessed from tests or within private scope" 1471 errorLine1=" ResolveInfo r = mMultiProfilePagerAdapter.getActiveListAdapter()" 1472 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1473 <location 1474 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1475 line="729" 1476 column="63"/> 1477 </issue> 1478 1479 <issue 1480 id="VisibleForTests" 1481 message="This method should only be accessed from tests or within private scope" 1482 errorLine1=" set[N] = mMultiProfilePagerAdapter.getActiveListAdapter()" 1483 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1484 <location 1485 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1486 line="737" 1487 column="56"/> 1488 </issue> 1489 1490 <issue 1491 id="VisibleForTests" 1492 message="This method should only be accessed from tests or within private scope" 1493 errorLine1=" final int otherProfileMatch = mMultiProfilePagerAdapter.getActiveListAdapter()" 1494 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1495 <location 1496 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1497 line="739" 1498 column="77"/> 1499 </issue> 1500 1501 <issue 1502 id="VisibleForTests" 1503 message="This method should only be accessed from tests or within private scope" 1504 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter()" 1505 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1506 <location 1507 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1508 line="761" 1509 column="51"/> 1510 </issue> 1511 1512 <issue 1513 id="VisibleForTests" 1514 message="This method should only be accessed from tests or within private scope" 1515 errorLine1=" .mResolverListController.setLastChosen(intent, filter, bestMatch);" 1516 errorLine2=" ~~~~~~~~~~~~~"> 1517 <location 1518 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1519 line="762" 1520 column="58"/> 1521 </issue> 1522 1523 <issue 1524 id="VisibleForTests" 1525 message="This method should only be accessed from tests or within private scope" 1526 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter();" 1527 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1528 <location 1529 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1530 line="868" 1531 column="43"/> 1532 </issue> 1533 1534 <issue 1535 id="VisibleForTests" 1536 message="This method should only be accessed from tests or within private scope" 1537 errorLine1=" int count = mMultiProfilePagerAdapter.getActiveListAdapter().getCount();" 1538 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1539 <location 1540 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1541 line="1143" 1542 column="47"/> 1543 </issue> 1544 1545 <issue 1546 id="VisibleForTests" 1547 message="This method should only be accessed from tests or within private scope" 1548 errorLine1=" TargetInfo target = mMultiProfilePagerAdapter.getActiveListAdapter().getItem(i);" 1549 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1550 <location 1551 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1552 line="1146" 1553 column="59"/> 1554 </issue> 1555 1556 <issue 1557 id="VisibleForTests" 1558 message="This method should only be accessed from tests or within private scope" 1559 errorLine1=" mMultiProfilePagerAdapter.getActiveListAdapter().getFilteredPosition() >= 0;" 1560 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1561 <location 1562 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1563 line="1172" 1564 column="43"/> 1565 </issue> 1566 1567 <issue 1568 id="VisibleForTests" 1569 message="This method should only be accessed from tests or within private scope" 1570 errorLine1=" .getActiveListAdapter().getFilteredItem()))" 1571 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1572 <location 1573 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1574 line="1181" 1575 column="42"/> 1576 </issue> 1577 1578 <issue 1579 id="VisibleForTests" 1580 message="This method should only be accessed from tests or within private scope" 1581 errorLine1=" if (!mMultiProfilePagerAdapter.getCurrentUserHandle().equals(getUser())) {" 1582 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1583 <location 1584 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1585 line="1217" 1586 column="40"/> 1587 </issue> 1588 1589 <issue 1590 id="VisibleForTests" 1591 message="This method should only be accessed from tests or within private scope" 1592 errorLine1=" ri = mMultiProfilePagerAdapter.getActiveListAdapter()" 1593 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1594 <location 1595 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1596 line="1233" 1597 column="44"/> 1598 </issue> 1599 1600 <issue 1601 id="VisibleForTests" 1602 message="This method should only be accessed from tests or within private scope" 1603 errorLine1=" startActivityAsUser(in, mMultiProfilePagerAdapter.getCurrentUserHandle());" 1604 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1605 <location 1606 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1607 line="1326" 1608 column="59"/> 1609 </issue> 1610 1611 <issue 1612 id="VisibleForTests" 1613 message="This method should only be accessed from tests or within private scope" 1614 errorLine1=" if (mMultiProfilePagerAdapter.getActiveListAdapter() == null) {" 1615 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1616 <location 1617 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1618 line="1334" 1619 column="39"/> 1620 </issue> 1621 1622 <issue 1623 id="VisibleForTests" 1624 message="This method should only be accessed from tests or within private scope" 1625 errorLine1=" new ResolverListAdapter.ViewHolder(icon).bindIcon(otherProfileResolveInfo);" 1626 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1627 <location 1628 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1629 line="1399" 1630 column="25"/> 1631 </issue> 1632 1633 <issue 1634 id="VisibleForTests" 1635 message="This method should only be accessed from tests or within private scope" 1636 errorLine1=" new ResolverListAdapter.ViewHolder(icon).bindIcon(otherProfileResolveInfo);" 1637 errorLine2=" ~~~~~~~~"> 1638 <location 1639 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1640 line="1399" 1641 column="66"/> 1642 </issue> 1643 1644 <issue 1645 id="VisibleForTests" 1646 message="This method should only be accessed from tests or within private scope" 1647 errorLine1=" int count = mMultiProfilePagerAdapter.getActiveListAdapter().getUnfilteredCount();" 1648 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1649 <location 1650 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1651 line="1472" 1652 column="47"/> 1653 </issue> 1654 1655 <issue 1656 id="VisibleForTests" 1657 message="This method should only be accessed from tests or within private scope" 1658 errorLine1=" int count = mMultiProfilePagerAdapter.getActiveListAdapter().getUnfilteredCount();" 1659 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1660 <location 1661 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1662 line="1534" 1663 column="47"/> 1664 </issue> 1665 1666 <issue 1667 id="VisibleForTests" 1668 message="This method should only be accessed from tests or within private scope" 1669 errorLine1=" if (mMultiProfilePagerAdapter.getActiveListAdapter().getOtherProfile() != null) {" 1670 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1671 <location 1672 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1673 line="1539" 1674 column="39"/> 1675 </issue> 1676 1677 <issue 1678 id="VisibleForTests" 1679 message="This method should only be accessed from tests or within private scope" 1680 errorLine1=" final TargetInfo target = mMultiProfilePagerAdapter.getActiveListAdapter()" 1681 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1682 <location 1683 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1684 line="1544" 1685 column="61"/> 1686 </issue> 1687 1688 <issue 1689 id="VisibleForTests" 1690 message="This method should only be accessed from tests or within private scope" 1691 errorLine1=" ResolverListAdapter activeListAdapter = mMultiProfilePagerAdapter.getActiveListAdapter();" 1692 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1693 <location 1694 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1695 line="1687" 1696 column="75"/> 1697 </issue> 1698 1699 <issue 1700 id="VisibleForTests" 1701 message="This method should only be accessed from tests or within private scope" 1702 errorLine1=" int filteredPosition = mMultiProfilePagerAdapter.getActiveListAdapter()" 1703 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1704 <location 1705 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1706 line="1754" 1707 column="58"/> 1708 </issue> 1709 1710 <issue 1711 id="VisibleForTests" 1712 message="This method should only be accessed from tests or within private scope" 1713 errorLine1=" if (mMultiProfilePagerAdapter.getActiveListAdapter()" 1714 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1715 <location 1716 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1717 line="1795" 1718 column="43"/> 1719 </issue> 1720 1721 <issue 1722 id="VisibleForTests" 1723 message="This method should only be accessed from tests or within private scope" 1724 errorLine1=" ResolveInfo ri = mMultiProfilePagerAdapter.getActiveListAdapter()" 1725 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1726 <location 1727 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1728 line="1828" 1729 column="56"/> 1730 </issue> 1731 1732 <issue 1733 id="VisibleForTests" 1734 message="This method should only be accessed from tests or within private scope" 1735 errorLine1=" final TargetInfo ti = ra.mMultiProfilePagerAdapter.getActiveListAdapter()" 1736 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1737 <location 1738 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverActivity.java" 1739 line="1896" 1740 column="68"/> 1741 </issue> 1742 1743 <issue 1744 id="VisibleForTests" 1745 message="This method should only be accessed from tests or within private scope" 1746 errorLine1=" return mResolverListController.getScore(target);" 1747 errorLine2=" ~~~~~~~~"> 1748 <location 1749 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 1750 line="212" 1751 column="40"/> 1752 </issue> 1753 1754 <issue 1755 id="VisibleForTests" 1756 message="This method should only be accessed from tests or within private scope" 1757 errorLine1=" mResolverListController.addResolveListDedupe(currentResolveList," 1758 errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> 1759 <location 1760 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 1761 line="329" 1762 column="37"/> 1763 </issue> 1764 1765 <issue 1766 id="VisibleForTests" 1767 message="This method should only be accessed from tests or within private scope" 1768 errorLine1=" mResolverListController.filterIneligibleActivities(currentResolveList, true);" 1769 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1770 <location 1771 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 1772 line="362" 1773 column="41"/> 1774 </issue> 1775 1776 <issue 1777 id="VisibleForTests" 1778 message="This method should only be accessed from tests or within private scope" 1779 errorLine1=" return mResolverListController.filterLowPriority(" 1780 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1781 <location 1782 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 1783 line="384" 1784 column="40"/> 1785 </issue> 1786 1787 <issue 1788 id="VisibleForTests" 1789 message="This method should only be accessed from tests or within private scope" 1790 errorLine1=" mLastChosen = mResolverListController.getLastChosen();" 1791 errorLine2=" ~~~~~~~~~~~~~"> 1792 <location 1793 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ResolverListAdapter.java" 1794 line="410" 1795 column="55"/> 1796 </issue> 1797 1798 <issue 1799 id="SupportAnnotationUsage" 1800 message="This annotation does not apply for type java.lang.Object; expected int" 1801 errorLine1=" @ContentPreviewType" 1802 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 1803 <location 1804 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/PreviewDataProvider.kt" 1805 line="230" 1806 column="5"/> 1807 </issue> 1808 1809 <issue 1810 id="ExpiredTargetSdkVersion" 1811 message="Google Play requires that apps target API level 33 or higher." 1812 errorLine1=" <uses-sdk android:minSdkVersion="VanillaIceCream" android:targetSdkVersion="16"/>" 1813 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1814 <location 1815 file="./out/soong/.intermediates/packages/modules/IntentResolver/IntentResolver-core/android_common/e18b8e8d84cb9f664aa09a397b08c165/manifest_fixer/AndroidManifest.xml" 1816 line="22" 1817 column="55"/> 1818 </issue> 1819 1820 <issue 1821 id="BindServiceOnMainThread" 1822 message="This method should be annotated with `@WorkerThread` because it calls unbindService" 1823 errorLine1=" mContext.unbindService(mConnection);" 1824 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1825 <location 1826 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/model/ResolverRankerServiceResolverComparator.java" 1827 line="308" 1828 column="13"/> 1829 </issue> 1830 1831 <issue 1832 id="BindServiceOnMainThread" 1833 message="This method should be annotated with `@WorkerThread` because it calls bindServiceAsUser" 1834 errorLine1=" context.bindServiceAsUser(intent, mConnection, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM);" 1835 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 1836 <location 1837 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/model/ResolverRankerServiceResolverComparator.java" 1838 line="333" 1839 column="9"/> 1840 </issue> 1841 1842 <issue 1843 id="NotifyDataSetChanged" 1844 message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort." 1845 errorLine1=" notifyDataSetChanged();" 1846 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1847 <location 1848 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 1849 line="139" 1850 column="17"/> 1851 </issue> 1852 1853 <issue 1854 id="NotifyDataSetChanged" 1855 message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort." 1856 errorLine1=" notifyDataSetChanged();" 1857 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1858 <location 1859 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/ChooserGridAdapter.java" 1860 line="145" 1861 column="17"/> 1862 </issue> 1863 1864 <issue 1865 id="NotifyDataSetChanged" 1866 message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort." 1867 errorLine1=" notifyDataSetChanged()" 1868 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1869 <location 1870 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ScrollableActionRow.kt" 1871 line="94" 1872 column="13"/> 1873 </issue> 1874 1875 <issue 1876 id="NotifyDataSetChanged" 1877 message="It will always be more efficient to use more specific change events if you can. Rely on `notifyDataSetChanged` as a last resort." 1878 errorLine1=" notifyDataSetChanged()" 1879 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1880 <location 1881 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ScrollableImagePreviewView.kt" 1882 line="316" 1883 column="13"/> 1884 </issue> 1885 1886 <issue 1887 id="RegisterReceiverViaContext" 1888 message="Register `BroadcastReceiver` using `BroadcastDispatcher` instead of `Context`" 1889 errorLine1=" context.registerReceiverAsUser(" 1890 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1891 <location 1892 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/data/BroadcastSubscriber.kt" 1893 line="63" 1894 column="17"/> 1895 </issue> 1896 1897 <issue 1898 id="RegisterReceiverViaContext" 1899 message="Register `BroadcastReceiver` using `BroadcastDispatcher` instead of `Context`" 1900 errorLine1=" context.registerReceiverAsUser(" 1901 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 1902 <location 1903 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/WorkProfileAvailabilityManager.java" 1904 line="74" 1905 column="17"/> 1906 </issue> 1907 1908 <issue 1909 id="SharedFlowCreation" 1910 message="`MutableSharedFlow()` creates a new shared flow, which has poor performance characteristics" 1911 errorLine1=" MutableSharedFlow<FileInfo>(replay = records.size).apply {" 1912 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1913 <location 1914 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/PreviewDataProvider.kt" 1915 line="91" 1916 column="9"/> 1917 </issue> 1918 1919 <issue 1920 id="SharedFlowCreation" 1921 message="`MutableSharedFlow()` creates a new shared flow, which has poor performance characteristics" 1922 errorLine1=" val reportFlow = MutableSharedFlow<Any>(replay = 2)" 1923 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1924 <location 1925 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ScrollableImagePreviewView.kt" 1926 line="660" 1927 column="30"/> 1928 </issue> 1929 1930 <issue 1931 id="SharedFlowCreation" 1932 message="`MutableSharedFlow()` creates a new shared flow, which has poor performance characteristics" 1933 errorLine1=" MutableSharedFlow<Array<DisplayResolveInfo>?>(" 1934 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1935 <location 1936 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ShortcutLoader.kt" 1937 line="82" 1938 column="9"/> 1939 </issue> 1940 1941 <issue 1942 id="SharedFlowCreation" 1943 message="`MutableSharedFlow()` creates a new shared flow, which has poor performance characteristics" 1944 errorLine1=" MutableSharedFlow<ShortcutData?>(replay = 1, onBufferOverflow = BufferOverflow.DROP_OLDEST)" 1945 errorLine2=" ~~~~~~~~~~~~~~~~~"> 1946 <location 1947 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ShortcutLoader.kt" 1948 line="87" 1949 column="9"/> 1950 </issue> 1951 1952 <issue 1953 id="SlowUserIdQuery" 1954 message="Use `UserTracker.getUserId()` instead of `ActivityManager.getCurrentUser()`" 1955 errorLine1=" userHandle == UserHandle.of(ActivityManager.getCurrentUser())," 1956 errorLine2=" ~~~~~~~~~~~~~~"> 1957 <location 1958 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/shortcuts/ShortcutLoader.kt" 1959 line="104" 1960 column="53"/> 1961 </issue> 1962 1963 <issue 1964 id="SlowUserInfoQuery" 1965 message="Use `UserTracker.getUserInfo()` instead of `UserManager.getUserInfo()`" 1966 errorLine1=" val originUserInfo = userManager.getUserInfo(contentUserHint)" 1967 errorLine2=" ~~~~~~~~~~~"> 1968 <location 1969 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/IntentForwarding.kt" 1970 line="51" 1971 column="46"/> 1972 </issue> 1973 1974 <issue 1975 id="SlowUserInfoQuery" 1976 message="Use `UserTracker.getUserInfo()` instead of `UserManager.getUserInfo()`" 1977 errorLine1=" withContext(backgroundDispatcher) { userManager.getUserInfo(user.identifier) }" 1978 errorLine2=" ~~~~~~~~~~~"> 1979 <location 1980 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/data/repository/UserRepository.kt" 1981 line="267" 1982 column="61"/> 1983 </issue> 1984 1985 <issue 1986 id="SoftwareBitmap" 1987 message="Replace software bitmap with `Config.HARDWARE`" 1988 errorLine1=" mBitmap = Bitmap.createBitmap(mMaxSize, mMaxSize, Bitmap.Config.ALPHA_8);" 1989 errorLine2=" ~~~~~~~"> 1990 <location 1991 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/SimpleIconFactory.java" 1992 line="172" 1993 column="73"/> 1994 </issue> 1995 1996 <issue 1997 id="SoftwareBitmap" 1998 message="Replace software bitmap with `Config.HARDWARE`" 1999 errorLine1=" bitmap.getHeight(), Bitmap.Config.ARGB_8888);" 2000 errorLine2=" ~~~~~~~~~"> 2001 <location 2002 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/SimpleIconFactory.java" 2003 line="297" 2004 column="51"/> 2005 </issue> 2006 2007 <issue 2008 id="SoftwareBitmap" 2009 message="Replace software bitmap with `Config.HARDWARE`" 2010 errorLine1=" Bitmap bitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888);" 2011 errorLine2=" ~~~~~~~~~"> 2012 <location 2013 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/SimpleIconFactory.java" 2014 line="343" 2015 column="71"/> 2016 </issue> 2017 2018 <issue 2019 id="ObsoleteLayoutParam" 2020 message="Invalid layout param in a `LinearLayout`: `layout_alignParentTop`" 2021 errorLine1=" android:layout_alignParentTop="true"" 2022 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2023 <location 2024 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_scrollable_preview.xml" 2025 line="99" 2026 column="17"/> 2027 </issue> 2028 2029 <issue 2030 id="ObsoleteLayoutParam" 2031 message="Invalid layout param in a `LinearLayout`: `layout_centerHorizontal`" 2032 errorLine1=" android:layout_centerHorizontal="true"" 2033 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2034 <location 2035 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_scrollable_preview.xml" 2036 line="100" 2037 column="17"/> 2038 </issue> 2039 2040 <issue 2041 id="StaticFieldLeak" 2042 message="This field leaks a context object" 2043 errorLine1=" protected final Context mContext;" 2044 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2045 <location 2046 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/BaseLoadIconTask.java" 2047 line="29" 2048 column="5"/> 2049 </issue> 2050 2051 <issue 2052 id="StaticFieldLeak" 2053 message="This `AsyncTask` class should be static or leaks might occur (anonymous android.os.AsyncTask)" 2054 errorLine1=" new AsyncTask<Void, Void, List<DisplayResolveInfo>>() {" 2055 errorLine2=" ^"> 2056 <location 2057 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/ChooserListAdapter.java" 2058 line="488" 2059 column="9"/> 2060 </issue> 2061 2062 <issue 2063 id="StaticFieldLeak" 2064 message="This field leaks a context object" 2065 errorLine1=" private final Context mContext;" 2066 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2067 <location 2068 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/LoadLabelTask.java" 2069 line="32" 2070 column="5"/> 2071 </issue> 2072 2073 <issue 2074 id="UseCompoundDrawables" 2075 message="This tag and its children can be replaced by one `<TextView/>` and a compound drawable" 2076 errorLine1=" <LinearLayout" 2077 errorLine2=" ~~~~~~~~~~~~"> 2078 <location 2079 file="packages/modules/IntentResolver/java/res/layout/chooser_dialog.xml" 2080 line="29" 2081 column="6"/> 2082 </issue> 2083 2084 <issue 2085 id="Overdraw" 2086 message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 2087 errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" 2088 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2089 <location 2090 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_file.xml" 2091 line="27" 2092 column="5"/> 2093 </issue> 2094 2095 <issue 2096 id="Overdraw" 2097 message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 2098 errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" 2099 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2100 <location 2101 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_files_text.xml" 2102 line="26" 2103 column="5"/> 2104 </issue> 2105 2106 <issue 2107 id="Overdraw" 2108 message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 2109 errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" 2110 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2111 <location 2112 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_image.xml" 2113 line="27" 2114 column="5"/> 2115 </issue> 2116 2117 <issue 2118 id="Overdraw" 2119 message="Possible overdraw: Root element paints background `@androidprv:color/materialColorSurfaceContainer` with a theme that also paints a background (inferred theme is `@android:style/Theme.Holo`)" 2120 errorLine1=" android:background="@androidprv:color/materialColorSurfaceContainer">" 2121 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2122 <location 2123 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_text.xml" 2124 line="28" 2125 column="5"/> 2126 </issue> 2127 2128 <issue 2129 id="RedundantNamespace" 2130 message="This namespace declaration is redundant" 2131 errorLine1=" <vector xmlns:android="http://schemas.android.com/apk/res/android"" 2132 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2133 <location 2134 file="packages/modules/IntentResolver/java/res/drawable/chooser_direct_share_icon_placeholder.xml" 2135 line="20" 2136 column="17"/> 2137 </issue> 2138 2139 <issue 2140 id="RedundantNamespace" 2141 message="This namespace declaration is redundant" 2142 errorLine1=" xmlns:aapt="http://schemas.android.com/aapt"" 2143 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2144 <location 2145 file="packages/modules/IntentResolver/java/res/drawable/chooser_direct_share_icon_placeholder.xml" 2146 line="21" 2147 column="17"/> 2148 </issue> 2149 2150 <issue 2151 id="RedundantNamespace" 2152 message="This namespace declaration is redundant" 2153 errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 2154 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2155 <location 2156 file="packages/modules/IntentResolver/java/res/layout/resolve_list_item.xml" 2157 line="40" 2158 column="19"/> 2159 </issue> 2160 2161 <issue 2162 id="RedundantNamespace" 2163 message="This namespace declaration is redundant" 2164 errorLine1=" xmlns:android="http://schemas.android.com/apk/res/android"" 2165 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2166 <location 2167 file="packages/modules/IntentResolver/java/res/layout/resolver_list_per_profile.xml" 2168 line="23" 2169 column="9"/> 2170 </issue> 2171 2172 <issue 2173 id="UnusedNamespace" 2174 message="Unused namespace declaration xmlns:android; already declared on the root element" 2175 errorLine1=" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"" 2176 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2177 <location 2178 file="packages/modules/IntentResolver/java/res/layout/resolve_list_item.xml" 2179 line="40" 2180 column="19"/> 2181 </issue> 2182 2183 <issue 2184 id="UnusedNamespace" 2185 message="Unused namespace declaration xmlns:android; already declared on the root element" 2186 errorLine1=" xmlns:android="http://schemas.android.com/apk/res/android"" 2187 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2188 <location 2189 file="packages/modules/IntentResolver/java/res/layout/resolver_list_per_profile.xml" 2190 line="23" 2191 column="9"/> 2192 </issue> 2193 2194 <issue 2195 id="TypographyEllipsis" 2196 message="Replace "..." with ellipsis character (…, &#8230;) ?" 2197 errorLine1=" <string name="whichApplication" msgid="2309561338625872614">"... በመጠቀም ድርጊቱን አጠናቅ"</string>" 2198 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 2199 <location 2200 file="packages/modules/IntentResolver/java/res/values-am/strings.xml" 2201 line="19" 2202 column="65"/> 2203 </issue> 2204 2205 <issue 2206 id="TypographyEllipsis" 2207 message="Replace "..." with ellipsis character (…, &#8230;) ?" 2208 errorLine1=" <string name="whichApplication" msgid="2309561338625872614">"Wykonaj czynność przez..."</string>" 2209 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> 2210 <location 2211 file="packages/modules/IntentResolver/java/res/values-pl/strings.xml" 2212 line="19" 2213 column="65"/> 2214 </issue> 2215 2216 <issue 2217 id="TypographyEllipsis" 2218 message="Replace "..." with ellipsis character (…, &#8230;) ?" 2219 errorLine1=" <string name="whichViewApplication" msgid="7660051361612888119">"...ဖြင့် ဖွင့်မည်"</string>" 2220 errorLine2=" ~~~~~~~~~~~~~~~~~~~"> 2221 <location 2222 file="packages/modules/IntentResolver/java/res/values-my/strings.xml" 2223 line="22" 2224 column="69"/> 2225 </issue> 2226 2227 <issue 2228 id="TypographyEllipsis" 2229 message="Replace "..." with ellipsis character (…, &#8230;) ?" 2230 errorLine1=" <string name="whichEditApplication" msgid="5097563012157950614">"...နှင့် တည်းဖြတ်ရန်"</string>" 2231 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> 2232 <location 2233 file="packages/modules/IntentResolver/java/res/values-my/strings.xml" 2234 line="30" 2235 column="69"/> 2236 </issue> 2237 2238 <issue 2239 id="TypographyEllipsis" 2240 message="Replace "..." with ellipsis character (…, &#8230;) ?" 2241 errorLine1=" <string name="whichSendToApplication" msgid="2724450540348806267">"Sūtīšana, izmantojot..."</string>" 2242 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> 2243 <location 2244 file="packages/modules/IntentResolver/java/res/values-lv/strings.xml" 2245 line="36" 2246 column="71"/> 2247 </issue> 2248 2249 <issue 2250 id="ClickableViewAccessibility" 2251 message="Custom view `ResolverDrawerLayout` overrides `onTouchEvent` but not `performClick`" 2252 errorLine1=" public boolean onTouchEvent(MotionEvent ev) {" 2253 errorLine2=" ~~~~~~~~~~~~"> 2254 <location 2255 file="packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ResolverDrawerLayout.java" 2256 line="403" 2257 column="20"/> 2258 </issue> 2259 2260 <issue 2261 id="ContentDescription" 2262 message="Missing `contentDescription` attribute on image" 2263 errorLine1=" <ImageView android:id="@android:id/icon"" 2264 errorLine2=" ~~~~~~~~~"> 2265 <location 2266 file="packages/modules/IntentResolver/java/res/layout/chooser_dialog.xml" 2267 line="37" 2268 column="10"/> 2269 </issue> 2270 2271 <issue 2272 id="ContentDescription" 2273 message="Missing `contentDescription` attribute on image" 2274 errorLine1=" <ImageView android:id="@android:id/icon"" 2275 errorLine2=" ~~~~~~~~~"> 2276 <location 2277 file="packages/modules/IntentResolver/java/res/layout/chooser_dialog_item.xml" 2278 line="30" 2279 column="6"/> 2280 </issue> 2281 2282 <issue 2283 id="ContentDescription" 2284 message="Missing `contentDescription` attribute on image" 2285 errorLine1=" <ImageView android:id="@android:id/icon"" 2286 errorLine2=" ~~~~~~~~~"> 2287 <location 2288 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_item.xml" 2289 line="32" 2290 column="6"/> 2291 </issue> 2292 2293 <issue 2294 id="ContentDescription" 2295 message="Missing `contentDescription` attribute on image" 2296 errorLine1=" <ImageView" 2297 errorLine2=" ~~~~~~~~~"> 2298 <location 2299 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_file.xml" 2300 line="47" 2301 column="10"/> 2302 </issue> 2303 2304 <issue 2305 id="ContentDescription" 2306 message="Missing `contentDescription` attribute on image" 2307 errorLine1=" <ImageView" 2308 errorLine2=" ~~~~~~~~~"> 2309 <location 2310 file="packages/modules/IntentResolver/java/res/layout/chooser_grid_preview_text.xml" 2311 line="112" 2312 column="8"/> 2313 </issue> 2314 2315 <issue 2316 id="ContentDescription" 2317 message="Missing `contentDescription` attribute on image" 2318 errorLine1=" <ImageView" 2319 errorLine2=" ~~~~~~~~~"> 2320 <location 2321 file="packages/modules/IntentResolver/java/res/layout/image_preview_image_item.xml" 2322 line="43" 2323 column="10"/> 2324 </issue> 2325 2326 <issue 2327 id="ContentDescription" 2328 message="Missing `contentDescription` attribute on image" 2329 errorLine1=" <ImageView" 2330 errorLine2=" ~~~~~~~~~"> 2331 <location 2332 file="packages/modules/IntentResolver/java/res/layout-h480dp/image_preview_image_item.xml" 2333 line="46" 2334 column="10"/> 2335 </issue> 2336 2337 <issue 2338 id="ContentDescription" 2339 message="Missing `contentDescription` attribute on image" 2340 errorLine1=" <ImageView" 2341 errorLine2=" ~~~~~~~~~"> 2342 <location 2343 file="packages/modules/IntentResolver/java/res/layout-h480dp/image_preview_image_item.xml" 2344 line="68" 2345 column="10"/> 2346 </issue> 2347 2348 <issue 2349 id="ContentDescription" 2350 message="Missing `contentDescription` attribute on image" 2351 errorLine1=" <ImageView" 2352 errorLine2=" ~~~~~~~~~"> 2353 <location 2354 file="packages/modules/IntentResolver/java/res/layout/miniresolver.xml" 2355 line="39" 2356 column="10"/> 2357 </issue> 2358 2359 <issue 2360 id="ContentDescription" 2361 message="Missing `contentDescription` attribute on image" 2362 errorLine1=" <ImageView android:id="@android:id/icon"" 2363 errorLine2=" ~~~~~~~~~"> 2364 <location 2365 file="packages/modules/IntentResolver/java/res/layout/resolve_grid_item.xml" 2366 line="32" 2367 column="6"/> 2368 </issue> 2369 2370 <issue 2371 id="ContentDescription" 2372 message="Missing `contentDescription` attribute on image" 2373 errorLine1=" <ImageView android:id="@android:id/icon"" 2374 errorLine2=" ~~~~~~~~~"> 2375 <location 2376 file="packages/modules/IntentResolver/java/res/layout/resolve_list_item.xml" 2377 line="30" 2378 column="6"/> 2379 </issue> 2380 2381 <issue 2382 id="ContentDescription" 2383 message="Missing `contentDescription` attribute on image" 2384 errorLine1=" <ImageView" 2385 errorLine2=" ~~~~~~~~~"> 2386 <location 2387 file="packages/modules/IntentResolver/java/res/layout/resolver_list_with_default.xml" 2388 line="44" 2389 column="14"/> 2390 </issue> 2391 2392 <issue 2393 id="ContentDescription" 2394 message="Missing `contentDescription` attribute on image" 2395 errorLine1=" <ImageView" 2396 errorLine2=" ~~~~~~~~~"> 2397 <location 2398 file="packages/modules/IntentResolver/java/res/layout/resolver_list_with_default.xml" 2399 line="79" 2400 column="18"/> 2401 </issue> 2402 2403 <issue 2404 id="HardcodedText" 2405 message="Hardcoded string "App name", should use `@string` resource" 2406 errorLine1=" android:text="App name"" 2407 errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~"> 2408 <location 2409 file="packages/modules/IntentResolver/java/res/layout/chooser_dialog.xml" 2410 line="46" 2411 column="19"/> 2412 </issue> 2413 2414 <issue 2415 id="RelativeOverlap" 2416 message="`@androidprv:id/button_open` can overlap `@androidprv:id/use_same_profile_browser` if @string/activity_resolver_use_once, @string/whichViewApplicationLabel grow due to localized text expansion" 2417 errorLine1=" <Button" 2418 errorLine2=" ~~~~~~"> 2419 <location 2420 file="packages/modules/IntentResolver/java/res/layout/miniresolver.xml" 2421 line="100" 2422 column="14"/> 2423 </issue> 2424 2425</issues> 2426