-
Notifications
You must be signed in to change notification settings - Fork 226
Add missing XML documentation for android.hardware.camera #2889
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of ordering them in the same way, but the XML comment isn't easily visible when reading the article. Restoring the XML comment above the setting helps readability. Maybe even adding a blank line in there between items.
Perhaps match the ordering in the block at the top of the article?
I also noticed that the linked issue doesn't seem to match what you're changing? In that you talk about the camera?
@adegeo no prob, will take a look tomorrow. The linked issue is about these 2 lines being missing, which have been added - |
@adegeo I've moved the comments back above each option. I haven't added "a blank line in there between items", because currently the blank lines indicate the permission for the different features - Not sure what you meant by "The block at the top of the article also be set to match" |
Wow, I don't know how I ended up wording that sentence in that way. I think I spliced two sentences together while editing and didn't realize how awful it sounded. HA! I edited my comment to fix the grammar. I was referencing the ordering in the article above where the change was made, that ordering could match the ordering in the xml: EDIT:
Having them all listed as the original version did, makes that clear. |
But in that case shouldnt both Personally i think the So this PR just updates the <!-- Add these properties if you would like to filter out devices that do not have cameras, or set to false to make them optional -->
<uses-feature android:name="android.hardware.camera" android:required="true"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="true"/> |
#2885