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

Skip to content
Commit 0ac59e16 authored by Evan Laird's avatar Evan Laird
Browse files

[Mobile] Use CellSignalStrength.getNumSignalStrengthLevels

The existing mobile pipeline was mistakenly using a const val `4` for
the default number of levels. It should have been defined as `5`,
representing the levels 0-4 discretely.

This change configures the MobileConnectionRepository DEFAULT_NUM_LEVELS
to be defined in the same way as the old MobileSignalController.

Test: tests in pipeline/mobile
Test: manual via demo mode:
Test: adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e inflate true -e level 1
Fixes: 299689440
Flag: NONE
Change-Id: I26e52afdc09f126a9aba8d89af819c84e020fa1c
(cherry picked from commit 963a9fc8)
parent 0cdf6dea
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