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

Skip to content
Commit a3e340a5 authored by Behnam Heydarshahi's avatar Behnam Heydarshahi
Browse files

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
parent c913a319
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment