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 endless loop when opening urls and files app is not installed. #3346

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

mahibi
Copy link
Collaborator

@mahibi mahibi commented Sep 26, 2023

followup to #3329

Without this fix, the ChatActivity would be started again in FileViewerUtils. There was an endless loop between ChatActivity and FileViewerUtils because of the wrong context. Instead to open the browser, the app did nothing or freezed.

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi added this to the 17.2.0 milestone Sep 26, 2023
@mahibi mahibi added the 3. to review Waiting for reviews label Sep 26, 2023
@mahibi mahibi self-assigned this Sep 26, 2023
@AndyScherzinger AndyScherzinger force-pushed the bugfix/3329followup/fixToOpenLinksInBrowser branch from c7810bd to cec013f Compare September 26, 2023 19:07
Without this fix, the ChatActivity would be started again in FileViewerUtils. There was an endless loop between ChatActivity and FileViewerUtils because of the wrong context.
Instead to open the browser, the app did nothing or freezed.

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the bugfix/3329followup/fixToOpenLinksInBrowser branch from cec013f to e4571be Compare September 27, 2023 09:31
@mahibi mahibi merged commit 807fdd3 into master Sep 27, 2023
14 checks passed
@delete-merged-branch delete-merged-branch bot deleted the bugfix/3329followup/fixToOpenLinksInBrowser branch September 27, 2023 09:32
@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings9191
Errors00

SpotBugs

CategoryBaseNew
Correctness99
Dodgy code123123
Internationalization55
Malicious code vulnerability33
Performance88
Security22
Total150150

@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/3346-talk.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud Talk app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants