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

Commit d659f59b authored by Ian's avatar Ian Committed by android-build-merger
Browse files

Merge "Adding tracepoints for tracking lock icon state" into qt-dev

am: 29b47f75

Change-Id: I9d5aca7cd7cb947df28404e360b62835b926aec2
parents 2be3c459 29b47f75
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import android.graphics.drawable.AnimatedVectorDrawable;
import android.graphics.drawable.Drawable;
import android.hardware.biometrics.BiometricSourceType;
import android.os.Handler;
import android.os.Trace;
import android.util.AttributeSet;
import android.view.ViewGroup;
import android.view.accessibility.AccessibilityNodeInfo;
@@ -256,9 +257,12 @@ public class LockIcon extends KeyguardAffordanceView implements OnUserInfoChange
                            if (getDrawable() == animation && state == getState()
                                    && doesAnimationLoop(iconAnimRes)) {
                                animation.start();
                            } else {
                                Trace.endAsyncSection("LockIcon#Animation", state);
                            }
                        }
                    });
                    Trace.beginAsyncSection("LockIcon#Animation", state);
                    animation.start();
                }
            }