Delay OEMCrypto Termination
[ Merge of http://go/wvgerrit/89847 ] This adds a platform specific property that allows OEMCrypto Termination calls to be delayed. On android this allows a way to avoid expensive back to back OEMCrypto_Terminate followed by Initialize calls. Bug: 136282358 Test: wv unit/integration tests Change-Id: Ie5b4ff7503dafe77d974caac9c52fc1f169dec89
This commit is contained in:
@@ -39,6 +39,11 @@ const bool kDeviceFilesIsARealFileSystem = true;
|
||||
// will be treated as a release request. If false, a restoration will fail.
|
||||
const bool kAllowRestoreOfflineLicenseWithRelease = false;
|
||||
|
||||
// This controls whether an OEMCrypto_Terminate call is issued immediately
|
||||
// after crypto session count declines to 0 or if a termination is
|
||||
// delayed by a countdown timer. If false, termination is immediate.
|
||||
const bool kPropertyDelayOemCryptoTermination = true;
|
||||
|
||||
} // namespace wvcdm
|
||||
|
||||
#endif // CDM_BASE_WV_PROPERTIES_CONFIGURATION_H_
|
||||
|
||||
Reference in New Issue
Block a user