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

Commit 1d88a752 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[Relayout] Enable relayout flags" into main

parents c1827d26 d65a5c4e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ public class AutofillFeatureFlags {
        return DeviceConfig.getBoolean(
                DeviceConfig.NAMESPACE_AUTOFILL,
                DEVICE_CONFIG_ENABLE_RELAYOUT,
                false);
                true);
    }

    /** @hide */
@@ -611,7 +611,7 @@ public class AutofillFeatureFlags {
        return DeviceConfig.getBoolean(
                DeviceConfig.NAMESPACE_AUTOFILL,
                DEVICE_CONFIG_ENABLE_RELATIVE_LOCATION_FOR_RELAYOUT,
                false);
                true);
    }

    /** @hide **/
+2 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import static android.service.autofill.FillRequest.FLAG_SUPPORTS_FILL_DIALOG;
import static android.service.autofill.FillRequest.FLAG_VIEW_NOT_FOCUSED;
import static android.service.autofill.FillRequest.FLAG_VIEW_REQUESTS_CREDMAN_SERVICE;
import static android.service.autofill.Flags.FLAG_FILL_DIALOG_IMPROVEMENTS;
import static android.service.autofill.Flags.relayoutFix;
import static android.view.ContentInfo.SOURCE_AUTOFILL;
import static android.view.autofill.Helper.sDebug;
import static android.view.autofill.Helper.sVerbose;
@@ -1013,7 +1014,7 @@ public final class AutofillManager {
                AutofillFeatureFlags.shouldIncludeInvisibleViewInAssistStructure();

        mRelayoutFixDeprecated = AutofillFeatureFlags.shouldIgnoreRelayoutWhenAuthPending();
        mRelayoutFix = AutofillFeatureFlags.enableRelayoutFixes();
        mRelayoutFix = relayoutFix() && AutofillFeatureFlags.enableRelayoutFixes();
        mRelativePositionForRelayout = AutofillFeatureFlags.enableRelativeLocationForRelayout();
        mIsCredmanIntegrationEnabled = Flags.autofillCredmanIntegration();
    }
+10 −0
Original line number Diff line number Diff line
@@ -22,6 +22,16 @@ flag {
  bug: "294330426"
}

flag {
  name: "relayout_fix"
  namespace: "autofill"
  description: "Fixing relayout issue. Guarding enabling device config flags"
  bug: "381226145"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "include_invisible_view_group_in_assist_structure"
  namespace: "autofill"