Change watchdog timer to 2 minutes
am: 913c890c5f
Change-Id: I8bd956f47489c53433a43bbe3a135bcda155a698
This commit is contained in:
@@ -494,7 +494,7 @@ class WatchDog {
|
|||||||
pthread_mutex_lock(&mutex_);
|
pthread_mutex_lock(&mutex_);
|
||||||
struct timespec time_to_giveup;
|
struct timespec time_to_giveup;
|
||||||
clock_gettime(CLOCK_REALTIME, &time_to_giveup);
|
clock_gettime(CLOCK_REALTIME, &time_to_giveup);
|
||||||
time_to_giveup.tv_sec += 5; // wait 5 seconds.
|
time_to_giveup.tv_sec += 120; // wait 2 minutes.
|
||||||
if (running_) {
|
if (running_) {
|
||||||
pthread_cond_timedwait(&condition_, &mutex_, &time_to_giveup);
|
pthread_cond_timedwait(&condition_, &mutex_, &time_to_giveup);
|
||||||
}
|
}
|
||||||
@@ -609,6 +609,7 @@ class Adapter {
|
|||||||
wvcdm::metrics::OEMCrypto_INITIALIZED_FORCING_L3);
|
wvcdm::metrics::OEMCrypto_INITIALIZED_FORCING_L3);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
LOGI("L3 Initialized. Trying L1.");
|
||||||
std::string library_name;
|
std::string library_name;
|
||||||
if (!wvcdm::Properties::GetOEMCryptoPath(&library_name)) {
|
if (!wvcdm::Properties::GetOEMCryptoPath(&library_name)) {
|
||||||
LOGW("L1 library not specified. Falling back to L3");
|
LOGW("L1 library not specified. Falling back to L3");
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user