Migration from jb-mr2 to master for Widevine CDM
Android development of the widevine CDM has been done on the jb-mr2 branch of the cdm code base. This CL contains a merge of that jb-mr2 work to CDM master, and also reflects the evolution of the common Modular DRM code base since jb-mr2 branched. Change-Id: I1d7e1a12d092c00044a4298261146cb97808d4ef
This commit is contained in:
@@ -26,7 +26,10 @@ class Timer::Impl : virtual public android::RefBase {
|
||||
|
||||
private:
|
||||
virtual bool threadLoop() {
|
||||
sleep(period_);
|
||||
struct timeval timeout;
|
||||
timeout.tv_sec = period_;
|
||||
timeout.tv_usec = 0;
|
||||
TEMP_FAILURE_RETRY(select(0, NULL, NULL, NULL, &timeout));
|
||||
handler_->OnTimerEvent();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user