-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor MainService to prevent unnecessary activity starts
There should be no logic change. Just moving the code in separate methods and directly check the condition instead of checking in the activity. Most of the time this will safe jumping between activities and service as permissions are only requested the first time. This helps when automating the start process of a session.
- Loading branch information
Niels Becker
committed
Oct 18, 2024
1 parent
fac8e2f
commit 980f80e
Showing
3 changed files
with
95 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters