Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad099e9f authored by Joanne Chung's avatar Joanne Chung
Browse files

[FW] Change the fake translation name to formal name.

We use a fake name to prevent feature leak, we should change it back
before API freeze.

Bug: 181179744
Test: build pass and can run service correctly
Test: atest CtsTranslationTestCases

Change-Id: I9c5752e4ce37ff4af8175b6d7527b8a8117588d3
parent f379c17e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2320,7 +2320,7 @@ package android.content {
    field public static final String SYSTEM_CONFIG_SERVICE = "system_config";
    field public static final String SYSTEM_UPDATE_SERVICE = "system_update";
    field public static final String TETHERING_SERVICE = "tethering";
    field public static final String TRANSLATION_MANAGER_SERVICE = "transformer";
    field public static final String TRANSLATION_MANAGER_SERVICE = "translation";
    field public static final String UI_TRANSLATION_SERVICE = "ui_translation";
    field public static final String VR_SERVICE = "vrmanager";
    field public static final String WIFI_NL80211_SERVICE = "wifinl80211";
+1 −2
Original line number Diff line number Diff line
@@ -4694,10 +4694,9 @@ public abstract class Context {
     * @hide
     * @see #getSystemService(String)
     */
    // TODO(b/176208267): change it back to translation before S release.
    @SystemApi
    @SuppressLint("ServiceName")
    public static final String TRANSLATION_MANAGER_SERVICE = "transformer";
    public static final String TRANSLATION_MANAGER_SERVICE = "translation";

    /**
     * Official published name of the translation service which supports ui translation function.