mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Refactoring
This commit is contained in:
@@ -147,8 +147,7 @@ public class TextHelper {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q)
|
||||
return null;
|
||||
|
||||
TextClassificationManager tcm =
|
||||
(TextClassificationManager) context.getSystemService(Context.TEXT_CLASSIFICATION_SERVICE);
|
||||
TextClassificationManager tcm = Helper.getSystemService(context, TextClassificationManager.class);
|
||||
if (tcm == null)
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user