summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-02-27 15:50:49 -0500
committer Evan Laird <evanlaird@google.com> 2024-02-29 16:21:39 +0000
commit0ac59e16162125c473abb5145ed6d08a3905b15f (patch)
tree39fb6a80f2883204bf67b92079963792cde35382 /libs/input/SpriteController.cpp
parent0cdf6dea47ad17bcad00fa69705225958405bd57 (diff)
[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 963a9fc83eece7ded2c75de967aa0f6ee3dd4398)
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions