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

camera:basic: don't request WRITE_EXTERNAL_STORAGE #1050

Merged
merged 1 commit into from
May 15, 2024

Conversation

DanAlbert
Copy link
Member

Not needed for writing to the SD card since KitKat, and the permission is auto-denied for targetSdkVersion 33+:
https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE

This isn't really the right way to do this though. We're supposed to do https://developer.android.com/training/data-storage/use-cases?utm_source=lint&utm_medium=lint&utm_campaign=lint#capture-image-media

Fixes #1031

Not needed for writing to the SD card since KitKat, and the permission
is auto-denied for targetSdkVersion 33+:
https://developer.android.com/reference/android/Manifest.permission#WRITE_EXTERNAL_STORAGE

This isn't really the right way to do this though. We're supposed to do
https://developer.android.com/training/data-storage/use-cases?utm_source=lint&utm_medium=lint&utm_campaign=lint#capture-image-media

Fixes android#1031
@DanAlbert DanAlbert requested a review from enh-google May 14, 2024 18:20
@DanAlbert DanAlbert enabled auto-merge (rebase) May 14, 2024 18:20
@DanAlbert DanAlbert merged commit ba3fd32 into android:main May 15, 2024
2 checks passed
@DanAlbert DanAlbert deleted the fix-camera-basic branch May 15, 2024 18:13
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

Successfully merging this pull request may close these issues.

camera/basic renders black screen on API 34
2 participants