-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Travel Behavior Studies Feature #1241
Conversation
Signed-off-by: Amr Hossam <[email protected]>
Signed-off-by: Amr Hossam <[email protected]>
Signed-off-by: Amr Hossam <[email protected]>
Signed-off-by: Amr Hossam <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 love to see another pair of comments added that link the reader to the issue, like you did in the java file but otherwise 🚀
@@ -77,6 +77,11 @@ | |||
import java.util.ArrayList; | |||
import java.util.List; | |||
|
|||
/** | |||
* This feature has been disabled due to issues related to ticket #1240. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is perfect 👍
Signed-off-by: Amr Hossam <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
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.
Apply the
AndroidStyle.xml
style template to your code in Android Studio.Run the unit tests with
gradlew connectedObaGoogleDebugAndroidTest
to make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them for the initial submission of the pull