Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a66753c authored by Brad Hinegardner's avatar Brad Hinegardner Committed by Android Build Coastguard Worker
Browse files

Prevent shortcuts from using the same instance of wallet icon

Quick affordances and quick settings were mutating the same instance
of the wallet Drawable, accidentally modifying one another.

Added tests to explicitly test against this. If we cannot
create a newDrawable, shortcuts will fall back to the resource.

Fixes: b/394282762
Test: atest QuickAccessWalletKeyguardQuickAffordanceConfigTest.kt
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:de99b6345198375b81d2315a2bfac836265823f3
Merged-In: I227ed8ca8ddfa15e0fc27d3c612b9489626a4a7c
Change-Id: I227ed8ca8ddfa15e0fc27d3c612b9489626a4a7c
parent 284f1ec3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment