summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2021-11-05 15:23:10 -0700
committer Yifan Hong <elsk@google.com> 2021-11-09 22:30:25 +0000
commit8838bc3d6255befdcd79fe4266e23ddc286ea280 (patch)
tree51f985d32b0eef8ce38fa07bbb99e5d9c040c0fb /libs/androidfw/ObbFile.cpp
parent9d57df9e823e21faf53f743a3acbb20859fcd570 (diff)
health package: switch to aidl HealthInfo
This is the first step of switching to AIDL health HAL. All usages of HIDL HealthInfo is replaced with AIDL HealthInfo. Because there's only one definition of HealthInfo in AIDL, all 3 versions of HIDL HealthInfo (1.0, 2.0, 2.1) are converted into this AIDL HealthInfo. A new function, Utils.copyV1Battery, is introduced in place of Utils.copy, to denote that only battery fields in the V1 AIDL HealthInfo are copied. When we add more battery fields to HealthInfo in the future, the name V1 suggests that only V1 fields are copied. So we'll only need to change it to copyV2Battery if we are going to use V2 fields in BatteryService. Test: boots Bug: 177269435 Change-Id: I38294bcff7cab72b8a7360a172ad70b22a1fcfe2
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions