mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-20 07:17:42 +00:00
fix(android): removes "where context is null" reporting
Fixes: #10032 Cherry-pick-of: #13004
This commit is contained in:
parent
ac90d3df42
commit
ff60fca8fd
1 changed files with 0 additions and 8 deletions
|
|
@ -520,10 +520,6 @@ public class ResourcesUpdateTool implements KeyboardEventHandler.OnKeyboardDownl
|
|||
|
||||
@Override
|
||||
public void onPackageInstalled(List<Map<String, String>> keyboardsInstalled) {
|
||||
if (!isContextAvailable()) {
|
||||
KMLog.LogError(TAG, "onPackageInstalled where context is null.");
|
||||
}
|
||||
|
||||
if (! openUpdates.isEmpty() && keyboardsInstalled != null) {
|
||||
for (Map<String, String> k : keyboardsInstalled) {
|
||||
String _langid = k.get(KMManager.KMKey_LanguageID);
|
||||
|
|
@ -537,10 +533,6 @@ public class ResourcesUpdateTool implements KeyboardEventHandler.OnKeyboardDownl
|
|||
|
||||
@Override
|
||||
public void onLexicalModelInstalled(List<Map<String, String>> lexicalModelsInstalled) {
|
||||
if (!isContextAvailable()) {
|
||||
KMLog.LogError(TAG, "onLexicalModelInstalled where context is null.");
|
||||
}
|
||||
|
||||
if (! openUpdates.isEmpty()) {
|
||||
for(Map<String,String> _lm:lexicalModelsInstalled) {
|
||||
String _langid = _lm.get(KMManager.KMKey_LanguageID);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue