Assigned
Status Update
Comments
su...@google.com <su...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks for filing the issue.
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
Description
Component used:
Version used:
Devices/Android versions reproduced on:
Bug
Using SliceViewManager.SliceCallback fails at runtime as the return type maybe null (Kotlin runtime null-check is failing!).
Reason
The callback interface SliceViewManager.SliceCallback is defined as SliceProvider.onBindSlice is defined with @Nullable annotation[2]:
SliceCallback.onSliceUpdated(@NonNull Slice s)
. That does not match asWhat is true? I think it should be nullable on both sides.
Regards
Benjamin E.