diff options
author | Max Bires <jbires@google.com> | 2021-06-05 15:16:47 -0700 |
---|---|---|
committer | Max Bires <jbires@google.com> | 2021-06-08 20:28:06 +0000 |
commit | d05498b9d8d30ca69eaafe920c5915ee472058eb (patch) | |
tree | 99c2f8bfe7ee21f382cd3c76848a0c372696e8ac /core/jni/AndroidRuntime.cpp | |
parent | ff3d2907e81e814b43a11c3327caed359f9c41b8 (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.
Bug: 190222116
Test: atest RemoteProvisionerUnitTests
Change-Id: I917a61da612f21f9a0f783bea5d24270d4e1db42
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
0 files changed, 0 insertions, 0 deletions