Skip to content

Convert PermissionUtils from Java to Kotlin and add unit tests#1549

Open
al3j4ndrolm wants to merge 1 commit into
OneBusAway:mainfrom
al3j4ndrolm:convert-permissionutils-to-kotlin-v2
Open

Convert PermissionUtils from Java to Kotlin and add unit tests#1549
al3j4ndrolm wants to merge 1 commit into
OneBusAway:mainfrom
al3j4ndrolm:convert-permissionutils-to-kotlin-v2

Conversation

@al3j4ndrolm

@al3j4ndrolm al3j4ndrolm commented Mar 25, 2026

Copy link
Copy Markdown
  • Rewrite PermissionUtils in Kotlin as a singleton object.
  • Add PermissionUtilsTest.kt to verify permission constants and arrays.
  • Clean up unused imports in TravelBehaviorManager, HomeActivity, and BaseMapFragment.
  • 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 anything

  • If you have multiple commits please combine them into one commit by squashing them for the initial submission of the pull request. When addressing comments on a pull request, please push a new commit per comment when possible (reviewers will squash and merge using GitHub merge tool)

*   Rewrite `PermissionUtils` in Kotlin as a singleton `object`.
*   Add `PermissionUtilsTest.kt` to verify permission constants and arrays.
*   Clean up unused imports in `TravelBehaviorManager`, `HomeActivity`, and `BaseMapFragment`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant