Skip to content

Commit

Permalink
Clean up manifests and remove READ_PHONE_STATE permission
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrewartha committed Jan 14, 2024
1 parent 921d9f5 commit 39cf2dd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
16 changes: 4 additions & 12 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-feature
android:name="android.hardware.location"
android:required="true" />

<uses-feature
android:name="android.hardware.sensor.accelerometer"
android:required="false" />

<uses-feature
android:name="android.hardware.sensor.compass"
android:required="false" />

<uses-permission android:name="android.permission.VIBRATE" />

<uses-permission
android:name="android.permission.READ_PHONE_STATE"
tools:node="remove" />

<application
android:name=".PositionalApplication"
android:dataExtractionRules="@xml/backup_rules"
Expand Down
10 changes: 10 additions & 0 deletions data/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
android:name="android.hardware.location"
android:required="true" />

<uses-feature
android:name="android.hardware.sensor.accelerometer"
android:required="false" />

<uses-feature
android:name="android.hardware.sensor.compass"
android:required="false" />

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

</manifest>

0 comments on commit 39cf2dd

Please sign in to comment.