Fixed
Status Update
Comments
tr...@google.com <tr...@google.com>
tr...@google.com <tr...@google.com>
ap...@google.com <ap...@google.com> #2
Hi Ed, Thank you so much for these suggestions. I've been reviewing them and merging them in. Hopefully it should be live. I've included a thank you note too in the article.
Description
Since Context.getApplicationContext() returns a Context object and not an Application object, we shouldn't assume it will be an Application. This is causing a ClassCastException here:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:camera/camera-core/src/main/java/androidx/camera/core/CameraX.java;l=784;drc=8da3cb94d3e0725afc06cc039f809feaa290d743