Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Access denied error while using Camera #19

Open
Baburao4790 opened this issue Dec 18, 2019 · 1 comment
Open

Android Access denied error while using Camera #19

Baburao4790 opened this issue Dec 18, 2019 · 1 comment

Comments

@Baburao4790
Copy link

I'm getting error Access denied finding property "persist.vendor.camera.privapp.list" and access denied finding property "camera.aux.packagelist" for Android api 28 and above ie 8 and 9 android versions.Please help me.

@rana-gaurav
Copy link

rana-gaurav commented Aug 30, 2021

Change

imageReader = ImageReader.newInstance(imageSize.getWidth(), imageSize.getHeight(),ImageFormat.JPEG);

to this

imageReader = ImageReader.newInstance(imageSize.getWidth(), imageSize.getHeight(),ImageFormat.YUV_420_888,2);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants