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

Commit 89d040c9 authored by Alina Zaidi's avatar Alina Zaidi
Browse files

Rename show_biometric_prompt_secondary_display_toast to trigger a new gantry workflow.

Its namespace was changed in ag/34937001 but that did not trigger a new gantry workflow

Bug: 419799860
Flag: com.android.window.flags.show_biometric_prompt_secondary_display_message
Change-Id: Ica9e7bb3c5b4d7f51ff32c273d6544e1b3cdca3a
parent 36206e7d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -308,9 +308,9 @@ public enum DesktopExperienceFlags {
    RESPECT_FULLSCREEN_ACTIVITY_OPTION_IN_DESKTOP_LAUNCH_PARAMS(
            Flags::respectFullscreenActivityOptionInDesktopLaunchParams, true,
            Flags.FLAG_RESPECT_FULLSCREEN_ACTIVITY_OPTION_IN_DESKTOP_LAUNCH_PARAMS),
    SHOW_BIOMETRIC_PROMPT_SECONDARY_DISPLAY_TOAST(
            Flags::showBiometricPromptSecondaryDisplayToast, true,
            Flags.FLAG_SHOW_BIOMETRIC_PROMPT_SECONDARY_DISPLAY_TOAST),
    SHOW_BIOMETRIC_PROMPT_SECONDARY_DISPLAY_MESSAGE(
            Flags::showBiometricPromptSecondaryDisplayMessage, true,
            Flags.FLAG_SHOW_BIOMETRIC_PROMPT_SECONDARY_DISPLAY_MESSAGE),
    SKIP_DEACTIVATION_OF_DESK_WITH_NOTHING_IN_FRONT(
            Flags::skipDeactivationOfDeskWithNothingInFront, true,
            Flags.FLAG_SKIP_DEACTIVATION_OF_DESK_WITH_NOTHING_IN_FRONT),
+2 −2
Original line number Diff line number Diff line
@@ -1736,9 +1736,9 @@ flag {
}

flag {
    name: "show_biometric_prompt_secondary_display_toast"
    name: "show_biometric_prompt_secondary_display_message"
    namespace: "lse_desktop_experience"
    description: "Shows a toast on secondary screens to direct users to use their device to finish biometric authorization"
    description: "Shows a message on secondary screens to direct users to use their device to finish biometric authorization"
    bug: "419799860"
    metadata {
         purpose: PURPOSE_BUGFIX
+1 −1
Original line number Diff line number Diff line
@@ -1329,7 +1329,7 @@ public class AuthController implements
    }

    private void maybeShowSecondaryDisplayToast() {
        if (!DesktopExperienceFlags.SHOW_BIOMETRIC_PROMPT_SECONDARY_DISPLAY_TOAST.isTrue()) return;
        if (!DesktopExperienceFlags.SHOW_BIOMETRIC_PROMPT_SECONDARY_DISPLAY_MESSAGE.isTrue()) return;
        int focusedDisplayId = mFocusedDisplayRepository.getFocusedDisplayId().getValue();
        if (focusedDisplayId != Display.DEFAULT_DISPLAY) {
            Display focusedDisplay = mDisplayManager.getDisplay(focusedDisplayId);