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

Commit a722c84d authored by Jiaming Cheng's avatar Jiaming Cheng
Browse files

[flexiglass] Fix InternetAdapterTest with SceneContainerFlag

Converted to use `FlagsParameterization` for FLAG_QS_WIFI_CONFIG,
FLAG_QS_TILE_DETAILED_VIEW, and SceneContainerFlag.

Fixed an NPE by stubbing `mutate()` on mock Drawables
(mWifiDrawable, mGearIcon, mLockIcon) to return themselves.
This prevents ImageView from nullifying its internal drawable
when setColorFilter is called.

Bug: 416717352
Flag: com.android.systemui.scene_container
Test: com.android.systemui.qs.tiles.dialog.InternetAdapterTest
Change-Id: Ic280bc71939a81912c5830fd69b1f1c528461ed8
parent 036e0e50
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