From f3c82e4bcaad2b49acda8c5cde40082ee084c8fa Mon Sep 17 00:00:00 2001 From: Daosheng Mu Date: Wed, 24 Jun 2020 14:27:03 -0700 Subject: [PATCH] Adding domain names for Chinese keyboard. --- .../vrbrowser/ui/keyboards/ChinesePinyinKeyboard.java | 5 +++++ .../vrbrowser/ui/keyboards/ChineseZhuyinKeyboard.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChinesePinyinKeyboard.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChinesePinyinKeyboard.java index 37a6ad5156..5de40b5bc5 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChinesePinyinKeyboard.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChinesePinyinKeyboard.java @@ -485,4 +485,9 @@ public DBHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } } + + @Override + public String[] getDomains(String... domains) { + return super.getDomains(".cn"); + } } diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChineseZhuyinKeyboard.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChineseZhuyinKeyboard.java index be0084f4be..99e786972d 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChineseZhuyinKeyboard.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/keyboards/ChineseZhuyinKeyboard.java @@ -480,4 +480,9 @@ public DBPhraseHelper(Context context) { super(context, DATABASE_NAME, null, DATABASE_VERSION); } } + + @Override + public String[] getDomains(String... domains) { + return super.getDomains(".tw"); + } }