Assigned
Status Update
Comments
au...@google.com <au...@google.com> #2
After some googling I found https://github.com/android/camera-samples/blob/master/CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/utils/AutoFitPreviewBuilder.kt which does what I want. Would it be possible to fold this into the main library or at least make it configurable without the need for that class?
au...@google.com <au...@google.com> #3
Hi Charcoal,
Are we getting a crop mode here? Thanks!
Are we getting a crop mode here? Thanks!
Description
Repro on aosp/1819193 .
Failing here with: src/androidMain/kotlin/androidx/glance/action/LaunchActivityAction.kt:25: error: Missing nullability on method
launchActivity
return [MissingNullability].It fails during the generateApi task. Should not get this warning on a kotlin interface.
The affected fun:
inline fun <reified T : Activity> launchActivity(): Action = launchActivity(T::class.java)
Suppressing the warning for now. The API generated with the suppression:
public static inline <reified T extends android.app.Activity> androidx.glance.action.Action! launchActivity();