Merge "Update UsageStats#checkAndGetTimeLocked behavior."