uazo / bromite-buildtools

my build machine for bromite development
GNU General Public License v3.0
331 stars 10 forks source link

110: CCT Dynamic Features (enabled by default) #45

Closed uazo closed 1 year ago

uazo commented 1 year ago

Enabled by default.

    /** Whether Dynamic Features are enabled. CCT Intents can override the feature set. */
    private boolean mIsDynamicIntentFeatureOverridesEnabled =
            ChromeFeatureList.sCctIntentFeatureOverrides.isEnabled();

see https://source.chromium.org/chromium/chromium/src/+/main:chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java;l=1330;drc=e14364652369744ed1a8b9c4a582f11833b35aff;bpv=1;bpt=1

uazo commented 1 year ago

also kCctAutoTranslate

# CCT support for auto-translating to a predefined target language.
# Adds CCT support for auto-translation to a predefined target language
# from allowed packages. This is done via a new intent extra.
quyleanh commented 1 year ago

Sorry but this means I can have translation function in the future version?

uazo commented 1 year ago

no, I don't think so. the translation function integrated in chromium only works with google api.

uazo commented 1 year ago

Disabled with https://github.com/uazo/bromite/blob/next-v110/build/patches/00110-ADDTO-Add-custom-tab-intents-privacy-option.patch (fixup version)