Skip to content

Commit

Permalink
Bug Fix:
Browse files Browse the repository at this point in the history
java.lang.SecurityException: To use the sampling rate of 0 microseconds, app needs to declare the normal permission HIGH_SAMPLING_RATE_SENSORS.
  • Loading branch information
umer0586 committed Oct 23, 2024
1 parent 3adf2a1 commit 5291957
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<!-- POST Notifications permission is introduced in Android 13 -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS"
tools:ignore="HighSamplingRate" />

<application
android:name=".MyApplication"
Expand Down

0 comments on commit 5291957

Please sign in to comment.