This pull request includes changes to the project, focusing on updating the API level and adding changes necessary for proper operation after the new targetSDK. Key changes include updating the SDK versions, adding a new permission for foreground services and improving the code for button layout preferences and broadcast intents.
Dependency and SDK Updates:
Updated compileSdk and targetSdkVersion to 35 in app/build.gradle.
Added org.apache.commons:commons-io:1.3.2 to dependencies in app/build.gradle. This is for the successful execution of DownloadLayoutTest and DeleteLayoutTest.
Upgraded Gradle distribution to 8.10.1 in gradle-wrapper.properties.
Permissions:
Added FOREGROUND_SERVICE_LOCATION permission in AndroidManifest.xml.
Functional Enhancements:
Added explicit execution of the buttons presets window in Preferences.java.
Added getButtonsEnabled method in TrackLogger.java to know if the buttons are enabled after acquiring an accurate position fix.
Ensured broadcast intents are set with the package name in TrackLogger.java, TrackManager.java, and GPSLoggerServiceConnection.java.
Added Context.RECEIVER_NOT_EXPORTED flag to registerReceiver in GPSLogger.java.
UI and Layout:
Added android:key to the buttons layout preference in preferences.xml for explicit execution.
This pull request includes changes to the project, focusing on updating the API level and adding changes necessary for proper operation after the new targetSDK. Key changes include updating the SDK versions, adding a new permission for foreground services and improving the code for button layout preferences and broadcast intents.
Dependency and SDK Updates:
compileSdk
andtargetSdkVersion
to 35 inapp/build.gradle
.org.apache.commons:commons-io:1.3.2
to dependencies inapp/build.gradle
. This is for the successful execution of DownloadLayoutTest and DeleteLayoutTest.8.10.1
ingradle-wrapper.properties
.Permissions:
FOREGROUND_SERVICE_LOCATION
permission inAndroidManifest.xml
.Functional Enhancements:
Preferences.java
.getButtonsEnabled
method inTrackLogger.java
to know if the buttons are enabled after acquiring an accurate position fix.TrackLogger.java
,TrackManager.java
, andGPSLoggerServiceConnection.java
.Context.RECEIVER_NOT_EXPORTED
flag toregisterReceiver
inGPSLogger.java
.UI and Layout:
android:key
to the buttons layout preference inpreferences.xml
for explicit execution.Issues solved:
315
445