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

Skip to content
Commit 47b81434 authored by Evan Laird's avatar Evan Laird
Browse files

[battery] Don't create a BatteryStatusChip in tests

This battery chip view was used in such a way that over-constrained the
test itself (it was dependent on the implementation of BatteryStatusChip).

The new battery chip view is based on compose, and this test
realistically doesn't care about the underlying chip view, it's more
about testing the scheduler.

Therefore, when the flag is on we just create a generic view, and modify
a couple tests to reflect this.

Test: SystemStatusAnimationSchedulerImplTest
Bug: 391606042
Flag: com.android.settingslib.flags.new_status_bar_icons
Change-Id: Ife225794f50aa4f2f1de8ca4f22e8427c1cc0a71
parent f659d841
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