diff options
| author | 2024-05-07 19:26:49 +0000 | |
|---|---|---|
| committer | 2024-05-08 14:55:54 +0000 | |
| commit | a3e340a514bc74306cc06f1dbd71702bc5bd0002 (patch) | |
| tree | 1a761b857085627267bff44c3a5d48d81ebb7f9c /libs/androidfw/StringPool.cpp | |
| parent | c913a319ef8aca68d0d58cefb95a158b2c816fe2 (diff) | |
Replace invis drawable when ConstantState null
The invisible drawable tried to create a new drawable before, even when
the ConstantState was null. This caused an exception. Now we check for
null pointer, and default to the provided drawable.
Flag: ACONFIG com.android.systemui.qs_new_tiles DEVELOPMENT
Bug: 339201022
Test: Ran the failing build on abtd. The fatal exception did not happen.
Test: atest QSTileImplTest QSIconViewImplTest
Change-Id: I11e6d0d23e3ba005270aff39f111a8bf4c417d55
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions