Loading packages/SystemUI/lint-baseline.xml +0 −33 Original line number Diff line number Diff line Loading @@ -9166,39 +9166,6 @@ column="15"/> </issue> <issue id="UnclosedTrace" message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may return early" errorLine1=" Trace.beginSection("KeyguardViewMediator#handleKeyguardDone");" errorLine2=" ~~~~~~~~~~~~"> <location file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java" line="2654" column="15"/> </issue> <issue id="UnclosedTrace" message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may return early" errorLine1=" Trace.beginSection("KeyguardViewMediator#handleShow");" errorLine2=" ~~~~~~~~~~~~"> <location file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java" line="2780" column="15"/> </issue> <issue id="UnclosedTrace" message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may return early" errorLine1=" Trace.beginSection("KeyguardViewMediator#handleStartKeyguardExitAnimation");" errorLine2=" ~~~~~~~~~~~~"> <location file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java" line="3011" column="15"/> </issue> <issue id="UnclosedTrace" message="The `traceBegin()` call is not always closed with a matching `traceEnd()` because the code in between may return early" packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +19 −4 Original line number Diff line number Diff line Loading @@ -2834,6 +2834,14 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, */ private void handleShow(Bundle options) { Trace.beginSection("KeyguardViewMediator#handleShow"); try { handleShowInner(options); } finally { Trace.endSection(); } } private void handleShowInner(Bundle options) { final boolean showUnlocked = options != null && options.getBoolean(OPTION_SHOW_DISMISSIBLE, false); final int currentUser = mSelectedUserInteractor.getSelectedUserId(); Loading Loading @@ -2885,8 +2893,6 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, mKeyguardDisplayManager.show(); scheduleNonStrongBiometricIdleTimeout(); Trace.endSection(); } /** Loading Loading @@ -3065,6 +3071,17 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback) { Trace.beginSection("KeyguardViewMediator#handleStartKeyguardExitAnimation"); try { handleStartKeyguardExitAnimationInner(startTime, fadeoutDuration, apps, wallpapers, nonApps, finishedCallback); } finally { Trace.endSection(); } } private void handleStartKeyguardExitAnimationInner(long startTime, long fadeoutDuration, RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback) { Log.d(TAG, "handleStartKeyguardExitAnimation startTime=" + startTime + " fadeoutDuration=" + fadeoutDuration); synchronized (KeyguardViewMediator.this) { Loading Loading @@ -3253,8 +3270,6 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, onKeyguardExitFinished(); } } Trace.endSection(); } private void onKeyguardExitFinished() { Loading Loading
packages/SystemUI/lint-baseline.xml +0 −33 Original line number Diff line number Diff line Loading @@ -9166,39 +9166,6 @@ column="15"/> </issue> <issue id="UnclosedTrace" message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may return early" errorLine1=" Trace.beginSection("KeyguardViewMediator#handleKeyguardDone");" errorLine2=" ~~~~~~~~~~~~"> <location file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java" line="2654" column="15"/> </issue> <issue id="UnclosedTrace" message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may return early" errorLine1=" Trace.beginSection("KeyguardViewMediator#handleShow");" errorLine2=" ~~~~~~~~~~~~"> <location file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java" line="2780" column="15"/> </issue> <issue id="UnclosedTrace" message="The `beginSection()` call is not always closed with a matching `endSection()` because the code in between may return early" errorLine1=" Trace.beginSection("KeyguardViewMediator#handleStartKeyguardExitAnimation");" errorLine2=" ~~~~~~~~~~~~"> <location file="frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java" line="3011" column="15"/> </issue> <issue id="UnclosedTrace" message="The `traceBegin()` call is not always closed with a matching `traceEnd()` because the code in between may return early"
packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +19 −4 Original line number Diff line number Diff line Loading @@ -2834,6 +2834,14 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, */ private void handleShow(Bundle options) { Trace.beginSection("KeyguardViewMediator#handleShow"); try { handleShowInner(options); } finally { Trace.endSection(); } } private void handleShowInner(Bundle options) { final boolean showUnlocked = options != null && options.getBoolean(OPTION_SHOW_DISMISSIBLE, false); final int currentUser = mSelectedUserInteractor.getSelectedUserId(); Loading Loading @@ -2885,8 +2893,6 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, mKeyguardDisplayManager.show(); scheduleNonStrongBiometricIdleTimeout(); Trace.endSection(); } /** Loading Loading @@ -3065,6 +3071,17 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback) { Trace.beginSection("KeyguardViewMediator#handleStartKeyguardExitAnimation"); try { handleStartKeyguardExitAnimationInner(startTime, fadeoutDuration, apps, wallpapers, nonApps, finishedCallback); } finally { Trace.endSection(); } } private void handleStartKeyguardExitAnimationInner(long startTime, long fadeoutDuration, RemoteAnimationTarget[] apps, RemoteAnimationTarget[] wallpapers, RemoteAnimationTarget[] nonApps, IRemoteAnimationFinishedCallback finishedCallback) { Log.d(TAG, "handleStartKeyguardExitAnimation startTime=" + startTime + " fadeoutDuration=" + fadeoutDuration); synchronized (KeyguardViewMediator.this) { Loading Loading @@ -3253,8 +3270,6 @@ public class KeyguardViewMediator implements CoreStartable, Dumpable, onKeyguardExitFinished(); } } Trace.endSection(); } private void onKeyguardExitFinished() { Loading