summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorMax Bires <jbires@google.com>2021-06-05 15:16:47 -0700
committerMax Bires <jbires@google.com>2021-07-20 09:04:17 +0000
commit9acdb43f8918a1edd8e229dd6c0610a86c1bf249 (patch)
tree988d00c6d58968dd90ea68eb27c3404732788337 /libs/hwui/renderthread/DrawFrameTask.cpp
parent27475c6e0c662ea3ae19ca4724f00c6694b53ecd (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/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions