Fix shortcuts loading state

Caused by ag/24642135: legacy code, effectively, did not set background
for the shortcut placeholder labels. Specifically, for a placeholder
TargetInfo with isPlaceholderTargetInfo() returning true, neither
isMultiDisplayResolveInfo() nor isPinned() returned true as well thus
the background drawable set for the label got immediately reset by the
following logic (and ag/24642135 removed this overriding logic).

This change removes the placeholder label background drawable and
related view size limitation.

Fix: 302391707
Test: manual testing -- simulate long shortcut loading (by a code
injection), observe no visual artifacts in the shortcuts row.

Change-Id: I86975407b729b488a0a5c924859bc218abc4444e
4 files changed
tree: 0f6c424fdf490235bbe9160ac7dccabf478a26cb
  1. aconfig/
  2. java/
  3. .clang-format
  4. Android.bp
  5. AndroidManifest-app.xml
  6. AndroidManifest-lib.xml
  7. OWNERS
  8. PREUPLOAD.cfg
  9. proguard.flags
  10. README.md
  11. TEST_MAPPING
README.md

IntentResolver

About

IntentResolver provides the implementation for Intent ACTION_CHOOSER

See also: ShareCompat.IntentBuilder