Refactor how app pair icons draw
This changes (and cleans up) the way app pair icons are composed. Previously, the background and 2 icons were drawn individually and separately onto the canvas. Now, they are composed into a combined drawable first. This also allows the full icon drawable to be requested by external functions (which will be needed for display app pairs in folder previews). Bug: 315731527 Flag: ACONFIG com.android.wm.shell.enable_app_pairs TRUNKFOOD Test: Visually confirmed that app pairs loooks the same in all scenarios: rotation, disabled, themed, taskbar, pinned taskbar. Screenshot test to follow. Change-Id: I7242e0c525ef578a54a06fb9137fcfc42c6f0e86 (cherry picked from commit b37faec2) Merged-In: I7242e0c525ef578a54a06fb9137fcfc42c6f0e86
Loading
Please register or sign in to comment