Skip to content

Commit

Permalink
Fix launch failure in sleep mode (#4)
Browse files Browse the repository at this point in the history
The app fails to launch if the device is in sleep mode and the
request for vsync fails (tdm_client_vblank_wait returning error
as HW vblank is not available). To prevent it, we need to call
tdm_client_vblank_set_enable_fake(vblank, enable_fake) by setting
enable_fake == 1.
  • Loading branch information
xiaowei-guan authored Dec 1, 2020
1 parent 43be6f5 commit 104b591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell/platform/tizen/tizen_vsync_waiter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ bool TizenVsyncWaiter::CreateTDMVblank() {
return false;
}

tdm_client_vblank_set_enable_fake(vblank_, 1);
return true;
}

Expand Down

0 comments on commit 104b591

Please sign in to comment.