From 51a41ec90af505b153cc7a016de3c1e8a18dc427 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 30 Dec 2023 00:56:55 +0100 Subject: Voice IME chooser popup Bring a popup for choosing the voice IME when the voice key is pressed for the first time or the list of voice IMEs installed on the device change. A preference stores the last selected IME and the last seen list of IMEs. --- srcs/juloo.keyboard2/StringUtils.java | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 srcs/juloo.keyboard2/StringUtils.java (limited to 'srcs/juloo.keyboard2/StringUtils.java') diff --git a/srcs/juloo.keyboard2/StringUtils.java b/srcs/juloo.keyboard2/StringUtils.java deleted file mode 100644 index 2994509..0000000 --- a/srcs/juloo.keyboard2/StringUtils.java +++ /dev/null @@ -1,12 +0,0 @@ -package juloo.keyboard2; - -final class Utils -{ - /** Turn the first letter of a string uppercase. */ - public static String capitalize_string(String s) - { - // Make sure not to cut a code point in half - int i = s.offsetByCodePoints(0, 1); - return s.substring(0, i).toUpperCase() + s.substring(i); - } -} -- cgit v1.2.3