Snap for 8508895 from 5c38b38514 to tm-release

Change-Id: I6281621742b8d92811b0a3baf6d8f29c2f775d9e
This commit is contained in:
Android Build Coastguard Worker
2022-04-28 01:20:59 +00:00
3 changed files with 7 additions and 1 deletions

View File

@@ -57,7 +57,11 @@ int64_t GetCurrentTimeMs() {
LogPriority g_cutoff = CDM_LOG_VERBOSE;
LogBuffer g_logbuf;
// This LogBuffer instance shares its mutex with multiple
// threads which might not release the mutex if suddenly closed
// by a signal. Destroying an in-use mutex may cause a process
// crash. Leave memory clean to the kernel when the process exits.
[[clang::no_destroy]] LogBuffer g_logbuf;
thread_local bool tl_logging_uid_set_ = false;

1
service-lazy.mk Normal file
View File

@@ -0,0 +1 @@
PRODUCT_PACKAGES += android.hardware.drm-service-lazy.widevine

1
service.mk Normal file
View File

@@ -0,0 +1 @@
PRODUCT_PACKAGES += android.hardware.drm-service.widevine