This commit is contained in:
M66B
2020-04-18 12:13:32 +02:00
parent 873d568d23
commit dffdf91280

View File

@@ -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),