Merge "Remove translation service feature." into sc-dev am: 279a38e147
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14112447 Change-Id: I387a396331301693d4a6e584d187303f00ce2eef
This commit is contained in:
@@ -2528,10 +2528,12 @@ public final class SystemServer implements Dumpable {
|
||||
}
|
||||
|
||||
// Translation manager service
|
||||
if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_TRANSLATION)) {
|
||||
if (deviceHasConfigString(context, R.string.config_defaultTranslationService)) {
|
||||
t.traceBegin("StartTranslationManagerService");
|
||||
mSystemServiceManager.startService(TRANSLATION_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
} else {
|
||||
Slog.d(TAG, "TranslationService not defined by OEM");
|
||||
}
|
||||
|
||||
// NOTE: ClipboardService depends on ContentCapture and Autofill
|
||||
|
||||
Reference in New Issue
Block a user