summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Caitlin Shkuratov <caitlinshk@google.com> 2023-02-06 20:42:11 +0000
committer Caitlin Shkuratov <caitlinshk@google.com> 2023-02-07 21:26:29 +0000
commit2def6f9adf10b04e4e7216cf261d9b840658b68c (patch)
tree97d6f4e10f8d3e42d8e88231e5b997b305b54c73 /libs/androidfw/ApkParsing.cpp
parent83e7763535c136d2239b40b112e9b0fe63fe00f0 (diff)
[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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions