summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Max Bires <jbires@google.com> 2021-06-05 15:16:47 -0700
committer Max Bires <jbires@google.com> 2021-06-13 21:50:36 +0000
commit5e43390b9bb3595473c4ba7c44b00e66f33ac940 (patch)
treea3d5a92235322ba817570f42b21ddbba2d701a10 /libs/hwui/FrameInfoVisualizer.cpp
parent17f9f3e8b59553a33a3e2931b3694cb1c5d5e739 (diff)
Fixing the race condition in GenerateRkpKey
This file was written on the assumption that bindService was synchronous, which it isn't. This change adds a CountDownLatch to force the class to wait for the binding to finish. If the relevant key generation service is not present on the system, then this functionality will just silently be skipped over. Bug: 190222116 Test: atest RemoteProvisionerUnitTests Change-Id: Ie34997a08aa743642c66a20c4b756cd47bff4af1 Merged-In: Ie34997a08aa743642c66a20c4b756cd47bff4af1
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions