openxc / openxc-android

Android library for accessing vehicle data from an OpenXC vehicle interface
BSD 3-Clause "New" or "Revised" License
236 stars 115 forks source link

File storage fix #421

Open dominicmeroux opened 1 year ago

dominicmeroux commented 1 year ago

Request two code changes: 1) In Android Manifest, add android:requestLegacyExternalStorage="true", which enables the trace file to correctly write to the Android host device for newer Android versions.

2) In VehicleLocationProvider.java, modify powerRequirement and accuracy values for adding a test provider. The existing values cause the application to crash, while the proposed values worked for me.

These two modifications were tested on: