We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug 呼叫 Rime.getInstance() 時會執行 Rime 相關的檢查和進行部署。取決於方案的大小和多寡,這是一個較費時的動作。正常來說,應該要在 background thread 中執行此動作,但因為同文在不同地方濫用 Rime.getInstance(),結果造成在 Main Thread 中執行,非常容易的引致 ANR (Android Not Responding)。 #949 和 #849 基本上也是此問題引致。
Rime.getInstance()
To Reproduce Steps to reproduce the bug:
/storage/rime/
Expected behavior 同文在背景 deploy,UI 在任何時候皆有回應
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
呼叫
Rime.getInstance()
時會執行 Rime 相關的檢查和進行部署。取決於方案的大小和多寡,這是一個較費時的動作。正常來說,應該要在 background thread 中執行此動作,但因為同文在不同地方濫用Rime.getInstance()
,結果造成在 Main Thread 中執行,非常容易的引致 ANR (Android Not Responding)。#949 和 #849 基本上也是此問題引致。
To Reproduce
Steps to reproduce the bug:
/storage/rime/
Expected behavior
同文在背景 deploy,UI 在任何時候皆有回應
The text was updated successfully, but these errors were encountered: