[PR #738] [MERGED] Fix runtime exception. #2563

Closed
opened 2025-11-26 23:21:04 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/738
Author: @oldium
Created: 2/22/2020
Status: Merged
Merged: 2/23/2020
Merged by: @kspearrin

Base: masterHead: fix-runtime-exception


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/App/Pages/Accounts/TwoFactorPageViewModel.cs (+1 -1)

📄 Description

In the callback the processing does not go in the main UI thread, so we
need to switch there. Otherwise on Android this throws
Android.Util.AndroidRuntimeException with detail “Only the original thread
that created a view hierarchy can touch its views”.

Discovered by trying to login with Duo as a two-factor login type.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/738 **Author:** [@oldium](https://github.com/oldium) **Created:** 2/22/2020 **Status:** ✅ Merged **Merged:** 2/23/2020 **Merged by:** [@kspearrin](https://github.com/kspearrin) **Base:** `master` ← **Head:** `fix-runtime-exception` --- ### 📝 Commits (1) - [`591dec9`](https://github.com/bitwarden/android/commit/591dec95785a50c5d1fc02ccb76e9ab436b3e3ae) Fix runtime exception. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/App/Pages/Accounts/TwoFactorPageViewModel.cs` (+1 -1) </details> ### 📄 Description In the callback the processing does not go in the main UI thread, so we need to switch there. Otherwise on Android this throws Android.Util.AndroidRuntimeException with detail “Only the original thread that created a view hierarchy can touch its views”. Discovered by trying to login with Duo as a two-factor login type. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-26 23:21:04 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#2563