pull/178/head
M66B 5 years ago
parent 873d568d23
commit dffdf91280

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

Loading…
Cancel
Save