forked from ankidroid/Anki-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: unnecessary camera permission check
The camera check relied on the `<uses-permission android:name="android.permission.CAMERA" />` in the manifest, but we declare the camera as a feature `<uses-feature android:name="android.hardware.camera" />` later. This caused the check to always return false, preventing users from accessing camera options. The camera permission was not there earlier but was introduced in ankidroid@cd03756, which introduced this issue.
- Loading branch information
1 parent
6a8ede0
commit e3fe714
Showing
3 changed files
with
1 addition
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters