abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/StringUtils.java
diff options
context:
space:
mode:
authorJules Aguillon2023-12-30 00:56:55 +0100
committerJules Aguillon2023-12-30 00:56:55 +0100
commit51a41ec90af505b153cc7a016de3c1e8a18dc427 (patch)
treed8e0464eadb3032c36192c483370d5c720fe43ae /srcs/juloo.keyboard2/StringUtils.java
parent7e7a5e4425a7825a9b0d899d6d13710acae82600 (diff)
downloadunexpected-keyboard-51a41ec90af505b153cc7a016de3c1e8a18dc427.tar.gz
unexpected-keyboard-51a41ec90af505b153cc7a016de3c1e8a18dc427.zip
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.
Diffstat (limited to 'srcs/juloo.keyboard2/StringUtils.java')
-rw-r--r--srcs/juloo.keyboard2/StringUtils.java12
1 files changed, 0 insertions, 12 deletions
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);
- }
-}