Merge "Fixes bug where the camera app would launch below the lock-screen" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-07-08 04:47:31 +00:00
committed by Android (Google) Code Review

View File

@@ -125,6 +125,13 @@ class CameraGestureHelper @Inject constructor(
// launched from behind the lock-screen.
activityStarter.startActivity(intent, false /* dismissShade */)
}
// Call this to make sure that the keyguard returns if the app that is being launched
// crashes after a timeout.
centralSurfaces.startLaunchTransitionTimeout()
// Call this to make sure the keyguard is ready to be dismissed once the next intent is
// handled by the OS (in our case it is the activity we started right above)
centralSurfaces.readyForKeyguardDone()
}
/**