Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Fatal Exception: java.lang.IllegalArgumentException: previewSize must not be wider than activeArray #56

Closed
ankitbatra11 opened this issue Nov 28, 2016 · 1 comment
Labels

Comments

@ankitbatra11
Copy link

ankitbatra11 commented Nov 28, 2016

Hi, Crashlytics is reporting following issue in production:

Fatal Exception: java.lang.IllegalArgumentException: previewSize must not be wider than activeArray at android.hardware.camera2.legacy.ParameterUtils.getPreviewCropRectangleUnzoomed(ParameterUtils.java:494) at android.hardware.camera2.legacy.ParameterUtils.getClosestAvailableZoomCrop(ParameterUtils.java:395) at android.hardware.camera2.legacy.ParameterUtils.convertScalerCropRegion(ParameterUtils.java:764) at android.hardware.camera2.legacy.LegacyRequestMapper.convertRequestMetadata(LegacyRequestMapper.java:72) at android.hardware.camera2.legacy.LegacyMetadataMapper.convertRequestMetadata(LegacyMetadataMapper.java:1163) at android.hardware.camera2.legacy.RequestThreadManager$5.handleMessage(RequestThreadManager.java:744) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:194) at android.os.HandlerThread.run(HandlerThread.java:61)

@yaraki yaraki added the bug label Dec 7, 2016
@yaraki
Copy link
Contributor

yaraki commented Dec 7, 2016

We should fall back to Camera1 when Camera2 is legacy implementation.

@yaraki yaraki closed this as completed in f0eef9a Dec 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants