mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 08:16:49 +00:00
Update LatencyTracker usage in Launcher
Test: manual - flashed the phone and verified the logging and statsd sampling with default settings Bug: 131859447, 162927074 Change-Id: I2d0c9fd479654c62841c714eb39f88f84e8ab114
This commit is contained in:
@@ -224,10 +224,8 @@ public class OverviewCommandHelper {
|
||||
|
||||
private AnimatorSet createWindowAnimation(RemoteAnimationTargetCompat[] appTargets,
|
||||
RemoteAnimationTargetCompat[] wallpaperTargets) {
|
||||
if (LatencyTrackerCompat.isEnabled(mContext)) {
|
||||
LatencyTrackerCompat.logToggleRecents(
|
||||
(int) (SystemClock.uptimeMillis() - mToggleClickedTime));
|
||||
}
|
||||
LatencyTrackerCompat.logToggleRecents(
|
||||
mContext, (int) (SystemClock.uptimeMillis() - mToggleClickedTime));
|
||||
|
||||
mListener.unregister();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user