Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix default Magnetic Sensor interval causing a security exception (#5812
) ## Summary Currently default magnetic sampling interval equals 2ms, which triggers a `HIGH_SAMPLE_RATE` security exception. This fix defaults the probing interval to 8ms. Note: `'auto'` setting defaults to `-1`, which is then replaced by `2`. ## Test plan Download a new emulator on Android Studio - I'm using `Pixel 8 UpsideDownCake` Launch the magnetic sensor example before, and after applying this patch. --------- Co-authored-by: Tomek Zawadzki <tomasz.zawadzki@swmansion.com>
- Loading branch information