Disabled Travel Behavior Functionality (No longer using ACTIVITY_RECOGNITION)
Commented Out Public Functions in TravelBehaviourManager
To make restoring the feature easier in the future, public functions have been commented instead of fully removing them. This avoids the need to edit multiple parts of the code.
Removed ACTIVITY_RECOGNITION Permission from AndroidManifest.xml
Since the travel behavior functionality is no longer in use, the related permission has been removed from the manifest file.
Removed Preferences Related to the Travel Behavior Study
Cleaned up preferences and configurations that were associated with the travel behavior study feature.
[x] Apply the AndroidStyle.xml style template to your code in Android Studio.
[x] Run the unit tests with gradlew connectedObaGoogleDebugAndroidTest to make sure you didn't break anything
[x] If you have multiple commits please combine them into one commit by squashing them for the initial submission of the pull
Fixes: #1240
Key Changes
Disabled Travel Behavior Functionality (No longer using
ACTIVITY_RECOGNITION
)Commented Out Public Functions in
TravelBehaviourManager
To make restoring the feature easier in the future, public functions have been commented instead of fully removing them. This avoids the need to edit multiple parts of the code.
Removed
ACTIVITY_RECOGNITION
Permission fromAndroidManifest.xml
Since the travel behavior functionality is no longer in use, the related permission has been removed from the manifest file.
Removed Preferences Related to the Travel Behavior Study
Cleaned up preferences and configurations that were associated with the travel behavior study feature.
[x] Apply the
AndroidStyle.xml
style template to your code in Android Studio.[x] Run the unit tests with
gradlew connectedObaGoogleDebugAndroidTest
to make sure you didn't break anything[x] If you have multiple commits please combine them into one commit by squashing them for the initial submission of the pull