[SB Refactor] Migrate mobile's `state.visible` to the new pipeline.
StatusBarMobileView uses `MobileIconState.visible` to determine its visibility status. Following all the inputs to `visible`, then `visible = hasMobileData && !airplaneMode && !forceHiddenByTuning`. This CL implements that boolean logic. Bug: 238425913 Fixes: 267786582 Test: manual: turn on airplane mode and verify mobile triangle is hidden every where. Turn off airplane mode and verify triangle re-appears. Test: `adb shell pm enable com.android.systemui/.tuner.TunerActivity` then Settings > System > System UI Tuner > Status bar > Toggle the mobile on/off and see the mobile icon toggle as well Test: atest MobileIconViewModelTest Change-Id: I5986ba477ba5172480ab4a5f7b9900259a8466ea
Loading
Please register or sign in to comment