commit | 92ef0bd64acb294443d2c2746efc56c2b520f741 | [log] [tgz] |
---|---|---|
author | Evan Laird <evanlaird@google.com> | Thu Mar 28 17:36:42 2024 -0400 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Apr 15 21:02:15 2024 +0000 |
tree | 07add20541efc308e70a5307ceef4773727c1cd6 | |
parent | 86c39bc3999278c5e4d0a25eafa7095b49f00e73 [diff] |
Revert^2 [Mobile] Make sure we +1 the reported level if INFLATE_SIGNAL_STRENGTH is true The carrier config key INFLATE_SIGNAL_STRENGTH instructs SystemUI to create a 5-level mobile icon, as well as instructs us to add 1 to the level reported from telephony. This change ensure that that is happening. Test: MobileConnectionRepositoryTest Test: MobileIconInteractorTest Test: MobileIconViewModelTest Bug: 328547883 Flag: NONE (cherry picked from commit 5166fa4c7f7d914fbdf0076a322e721ea47023fd) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1cdce9bf0b146fdea0d3c0c6bdd23a21c51eb0de) Merged-In: I450a583974986931c5442bfec5a82bcfdb43559f Change-Id: I450a583974986931c5442bfec5a82bcfdb43559f
diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/FullMobileConnectionRepositoryTest.kt b/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/FullMobileConnectionRepositoryTest.kt index a24e252..e3db782 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/FullMobileConnectionRepositoryTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/FullMobileConnectionRepositoryTest.kt
@@ -32,6 +32,7 @@ import com.android.systemui.log.table.TableLogBufferFactory import com.android.systemui.statusbar.pipeline.mobile.data.model.NetworkNameModel import com.android.systemui.statusbar.pipeline.mobile.data.model.SubscriptionModel +import com.android.systemui.statusbar.pipeline.mobile.data.model.SystemUiCarrierConfig import com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository import com.android.systemui.statusbar.pipeline.mobile.data.repository.MobileConnectionRepository import com.android.systemui.statusbar.pipeline.mobile.data.repository.prod.FullMobileConnectionRepository.Companion.COL_EMERGENCY