summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2023-01-24 11:09:28 -0500
committer Evan Laird <evanlaird@google.com> 2023-02-01 12:21:24 -0500
commit7eafef30da1e1eeae3d598c5e87878fe2a002d53 (patch)
tree3246e0ad862f4fa9188f4d06b3829b1c8749d0b2 /libs/androidfw/ApkParsing.cpp
parentfb60e153ffaba4ae1cf66e54eb62ab62b63d0ce3 (diff)
[Sb refactor] Rework TelephonyCallback flows
MobileConnectionRepository was doing a 1:1 mapping from its single TelephonyCallback listener to the `connectionInfo` model that it emitted from its flow. This wasn't great because there wasn't an easy way to add new callbacks which emitted from flows _other than_ the `connectionInfo` flow. In our case, we wanted `dataEnabled` to subscribe to the callback without starting collection on the `connectionInfo`. Secondly, we can now have a better polling event which is triggered on any telephony callback instead of the `onEach` approach which was used before (see `telephonyPollingEvent` for the change) Test: tests in com.android.systemui.statusbar.pipeline.mobile Bug: 238425913 Change-Id: I6843e949179f429eb8271e4021f884fbc079bf09
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions