mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Cleanup
This commit is contained in:
@@ -48,8 +48,6 @@ import android.provider.DocumentsContract;
|
||||
import android.security.KeyChain;
|
||||
import android.security.KeyChainAliasCallback;
|
||||
import android.security.KeyChainException;
|
||||
import android.text.Spannable;
|
||||
import android.text.Spanned;
|
||||
import android.text.TextUtils;
|
||||
import android.text.format.DateUtils;
|
||||
import android.text.format.Time;
|
||||
@@ -719,13 +717,6 @@ public class Helper {
|
||||
return text.substring(0, maxLen) + "...";
|
||||
}
|
||||
|
||||
static void clearComposingText(Spannable text) {
|
||||
Object[] spans = text.getSpans(0, text.length(), Object.class);
|
||||
for (Object span : spans)
|
||||
if ((text.getSpanFlags(span) & Spanned.SPAN_COMPOSING) != 0)
|
||||
text.removeSpan(span);
|
||||
}
|
||||
|
||||
static String localizeFolderType(Context context, String type) {
|
||||
int resid = context.getResources().getIdentifier(
|
||||
"title_folder_" + type.toLowerCase(Locale.ROOT),
|
||||
|
||||
Reference in New Issue
Block a user