commit | 0f62195535139026d35e831ccf329f8204781430 | [log] [tgz] |
---|---|---|
author | Max Bires <jbires@google.com> | Sat Jun 05 15:16:47 2021 -0700 |
committer | Max Bires <jbires@google.com> | Mon Jun 07 18:30:51 2021 +0000 |
tree | 1a06cee2873179a986752638994eb28c424d7dc4 | |
parent | 46b35eba73d02fea53214d6bf0a853fed7fd176c [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 Merged-In: I917a61da612f21f9a0f783bea5d24270d4e1db42