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

Skip to content
Commit 03435014 authored by roy li's avatar roy li
Browse files

fix "Comparison method violates its general contract!" IllegalArgumentException

    
When the difference between the elapsedRealtime() values of two Entries
exceeds the maximum size of an integer, casting the long result to an integer will cause an overflow.

Change-Id: If90333255e308dc69c64d44824a1ebed72af653c
parent c9b68de9
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