Improved timing accuracy on Android.