Skip to content
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

fix: specify crowdnode worker foreground service type #1303

Merged
merged 6 commits into from
Oct 4, 2024

Conversation

HashEngineering
Copy link
Collaborator

Issue being fixed or feature implemented

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

@HashEngineering HashEngineering self-assigned this Sep 8, 2024
@HashEngineering HashEngineering marked this pull request as ready for review October 3, 2024 16:17
Comment on lines +70 to +85
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
setForeground(
ForegroundInfo(
operation.hashCode(),
notification,
ServiceInfo.FOREGROUND_SERVICE_TYPE_DATA_SYNC
)
)
} else {
setForeground(
ForegroundInfo(
operation.hashCode(),
notification
)
)
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the foreground service fix.

@@ -104,7 +104,7 @@ class ShortcutsPane(context: Context, attrs: AttributeSet) : FlexboxLayout(conte
secureNowButton,
explore,
receiveButton,
payToContactButton,
if (Constants.SUPPORTS_PLATFORM) payToContactButton else payToAddressButton,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the ShortcutPane fix

Comment on lines +141 to +143
private val userAgentDaoMock = mockk<UserAlertDao> {
every { observe(any()) } returns flow { }
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why this problem started happening now and not previously on the dashpay branch.

observeBlockchainState_replaying_notSynced started to fail.

Copy link
Member

@Syn-McJ Syn-McJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@HashEngineering HashEngineering merged commit b0ceaff into master Oct 4, 2024
3 checks passed
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.

2 participants