Status Update
Comments
tr...@google.com <tr...@google.com> #2
From the other issue:
note that it is never the right approach to attach a
<deeplink>
to an<activity>
destination as that will never give you the right behavior when using anon another app's task (where the system back should immediately take the user back to the app that triggered your deep link). Instead, you should attach your deep link directly to your second activity (either by manually writing the appropriate implicit deep link <intent-filter>
or by adding the<deeplink>
to the start destination of a nav host in that second activity).
A lint error saying as such when a <deepLink>
element is added in Navigation XML would go a really long way to avoiding this case. Our navigation-runtime-lint
artifact that would contain this check.
Description
Please describe your issue and include details such as the version of CameraX you are using and any relevant logs related to your issue.
// If at all possible, capture an Android logcat (
CAMERAX VERSION:
camera-core: 1.0.0-beta03
camera-camera2: 1.0.0-beta03
camera-lifecycle: 1.0.0-beta03
camera-view: 1.0.0-alpha10
ANDROID OS BUILD NUMBER: 8.1.0
DEVICE NAME: Samsung Galaxy XCover4
DESCRIPTION:
I can see some crashes on Crashlytics in my production app. It may be difficult to reproduce, I don't know what the user did.
I don't know if this is the right place to report this kind of issues, but I think it may let you to improve the camera library
Thanks.
Fatal Exception: java.lang.IllegalStateException: Camera surface session should only fail with request cancellation. Instead failed due to:
c.f.a.b$b: The completer object was garbage collected - this future would otherwise never complete. The tag was: SurfaceRequest[size: 1280x720, id: 68262726]-status
at androidx.core.util.Preconditions.checkState(Preconditions.java:96)
at androidx.camera.core.SurfaceRequest$4.onFailure(SurfaceRequest.java:264)
at androidx.camera.core.impl.utils.futures.Futures$CallbackListener.run(Futures.java:338)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)