Modify SimpleAlarmTimer to take any clock id instead of implicitly using CLOCK_BOOTTIME_ALARM |
|
Issue descriptionThe instance opens clocks of type CLOCK_BOOTTIME_ALARM and CLOCK_REALTIME_ALARM. However, it uses only CLOCK_BOOTTIME_ALARM to set wake up alarms. At this point, it's okay to pretend the host supports CLOCK_REALTIME_ALARM instead of returning an error. Modify SimpleAlarmTimer to take a custom clock in the constructor. |
|
►
Sign in to add a comment |
|
Comment 1 by abhishekbh@google.com
, Nov 26 2017