+4
−2
+7
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
If the kernel doesn't have support for CLOCK_BOOTTIME_ALARM, then timer_create(CLOCK_BOOTTIME_ALARM) will fail. Added #ifdef KERNEL_MISSING_CLOCK_BOOTTIME_ALARM guard to get around the issue. Platforms that don't have CLOCK_BOOTTIME_ALARM should have the following lines in the device's "bdroid_buildcfg.h" file: /* Defined if the kernel does not have support for CLOCK_BOOTTIME_ALARM */ #define KERNEL_MISSING_CLOCK_BOOTTIME_ALARM TRUE Bug: 26611369 Change-Id: I455dbbc20f43b21a83998cd60cac8dea0a73080d