Conversation
MainActivity finishes itself when it hands off to OnboardingActivity, so when the user granted Usage Access during onboarding and tapped FINISH, the task simply ended and the user landed on the launcher. Nothing started the BackgroundService (aw-server-rust, sync scheduler) until the app was opened a second time. Start MainActivity explicitly before finishing onboarding so the normal startup path (service start, alarms, initial fragment) runs immediately.
|
0xbrayo
marked this pull request as draft
September 19, 2026 17:59
ErikBjare
marked this pull request as ready for review
September 19, 2026 18:29
Member
|
@0xbrayo ready? |
Member
Author
|
Tested on device, ready to merge 👍🏼 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MainActivity.onCreatestartsOnboardingActivityand then callsfinish()on itself. When the user grants Usage Access during onboarding and taps FINISH,OnboardingActivityonly calledfinish(), leaving nothing on the back stack: the user lands on the launcher and noBackgroundService(aw-server-rust, sync scheduler) starts until the app is opened a second time.This starts
MainActivityexplicitly before finishing onboarding so the normal startup path runs right away.Fixes #170.
Validation:
:mobile:compileStandardDebugKotlinpasses. Not yet exercised on a device.