Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e97d340d authored by Elliott Hughes's avatar Elliott Hughes Committed by Luca Stefani
Browse files

AlarmManagerService.setKernelTime: fix incorrect limit.

There is no TIME_T_MAX, so someone wrote INT_MAX instead. Use
std::numeric_limits<time_t>::max() so we can get the right answer on
both 32-bit and 64-bit systems.

Bug: http://b/156317457
Test: treehugger
Change-Id: I19fdee8601f8b59c4ee0959d59be946bfab6e4d0
parent 13433cc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment