Skip to content

Commit

Permalink
build: add use camera feature flag to manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Aug 20, 2023
1 parent 135cb69 commit 8c321c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mastodon/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android">
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.joinmastodon.android">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
Expand All @@ -12,6 +13,9 @@
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

<permission android:name="${applicationId}.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
<uses-feature
android:name="android.hardware.camera"
android:required="false" />

<queries>
<intent>
Expand Down

0 comments on commit 8c321c4

Please sign in to comment.