Indicate support for initial_renewal_delay_base

[ Merge of http://go/wvgerrit/174555 ]

This is only announced if OEMCrypto is v18+

Bug: 278751387
Test: Duration use case tests, wvts tests
Change-Id: I5cbfcc733ed2af2c940fde381b40a5be850e7e88
This commit is contained in:
Rahul Frias
2023-05-08 17:38:01 -07:00
parent 669fc9c7af
commit 0c288c1cda
3 changed files with 10 additions and 0 deletions

View File

@@ -364,6 +364,11 @@ CdmResponseType ClientIdentification::Prepare(
}
}
if (api_version >=
OEM_CRYPTO_API_VERSION_SUPPORTS_INITIAL_RENEWAL_DELAY_BASE) {
client_capabilities->set_initial_renewal_delay_base(true);
}
return CdmResponseType(NO_ERROR);
}