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
1 file changed