Merge "Wait for keystore from CompOs"
diff --git a/compos/src/compos_key_service.rs b/compos/src/compos_key_service.rs
index 6b62e0f..654eedd 100644
--- a/compos/src/compos_key_service.rs
+++ b/compos/src/compos_key_service.rs
@@ -30,7 +30,7 @@
     CompOsKeyData::CompOsKeyData, ICompOsKeyService::ICompOsKeyService,
 };
 use compos_aidl_interface::binder::{
-    self, get_interface, ExceptionCode, Interface, Status, Strong,
+    self, wait_for_interface, ExceptionCode, Interface, Status, Strong,
 };
 use log::warn;
 use ring::rand::{SecureRandom, SystemRandom};
@@ -95,7 +95,7 @@
 
 impl CompOsKeyService {
     pub fn new() -> Result<Self> {
-        let keystore_service = get_interface::<dyn IKeystoreService>(KEYSTORE_SERVICE_NAME)
+        let keystore_service = wait_for_interface::<dyn IKeystoreService>(KEYSTORE_SERVICE_NAME)
             .context("No Keystore service")?;
 
         Ok(Self {