Merge "Make Properties::Init() Take Action Only Once"

This commit is contained in:
John Bruce
2019-01-17 00:30:07 +00:00
committed by Android (Google) Code Review
3 changed files with 17 additions and 6 deletions

View File

@@ -11,6 +11,8 @@ const char* kSecurityLevelDirs[] = {"L1/", "L3/"};
} // namespace
namespace wvcdm {
std::mutex Properties::init_mutex_;
bool Properties::is_initialized_ = false;
bool Properties::oem_crypto_use_secure_buffers_;
bool Properties::oem_crypto_use_fifo_;
bool Properties::oem_crypto_use_userspace_buffers_;