summaryrefslogtreecommitdiff
path: root/tools/split-select/Main.cpp
diff options
context:
space:
mode:
author Yi-Yo Chiang <yochiang@google.com> 2023-08-22 18:04:10 +0800
committer Yi-Yo Chiang <yochiang@google.com> 2023-08-24 13:34:00 +0000
commit3e8eacc15cf9bf684db333800296d6eaef7f07bc (patch)
tree2a637e160581ffb1cb2992e25524075185bb0ece /tools/split-select/Main.cpp
parentb4674166a981009cba2b0288bac2b894031e18a2 (diff)
locksettings: Don't use AIDL V1 weaver
V1 and V2 reports IWeaver.read() errors differently. V1 throws ServiceSpecificException wrapping an error code. V2 returns the error code in the output parcel. The current client code expects the weaver HAL to be V2 or newer, however it doesn't check if the actual service version is V2 or not. If the service is V1, then IWeaver.read() errors would become unhandled exception, crashing the system_server. Since Weaver AIDL V1 is broken and should never be used, don't use Weaver AIDL V1 services. This fixes a regression in Android 14 where AIDL V1 started being used when available. Bug: 296984182 Bug: 296512452 Test: Boot on old (tm) vendor Merged-In: I32306fb8473c655e68d89d63a1e4f00c8bb5d61f Change-Id: I32306fb8473c655e68d89d63a1e4f00c8bb5d61f (cherry picked from commit 048aaf42d7073d2c45377154badbe3732103047b)
Diffstat (limited to 'tools/split-select/Main.cpp')
0 files changed, 0 insertions, 0 deletions