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

Commit c072d44b authored by Holly Jiuyu Sun's avatar Holly Jiuyu Sun Committed by Android (Google) Code Review
Browse files

Merge "[omni] Log LP duration & slop's data source and value." into main

parents 586eb65c 6d8b85e8
Loading
Loading
Loading
Loading
+24 −2
Original line number Diff line number Diff line
@@ -52,16 +52,38 @@ public class AssistStateManager implements ResourceBasedOverride {
        return Optional.empty();
    }

    /** Get the Launcher overridden long press duration to trigger Assistant. */
    /** Get the Launcher overridden long press nav handle duration to trigger Assistant. */
    public Optional<Long> getLPNHDurationMillis() {
        return Optional.empty();
    }

    /** Get the Launcher overridden long press touch slop multiplier to trigger Assistant. */
    /**
     * Get the Launcher overridden long press nav handle touch slop multiplier to trigger Assistant.
     */
    public Optional<Float> getLPNHCustomSlopMultiplier() {
        return Optional.empty();
    }

    /** Get the Launcher overridden long press home duration to trigger Assistant. */
    public Optional<Long> getLPHDurationMillis() {
        return Optional.empty();
    }

    /** Get the Launcher overridden long press home touch slop multiplier to trigger Assistant. */
    public Optional<Float> getLPHCustomSlopMultiplier() {
        return Optional.empty();
    }

    /** Get the long press duration data source. */
    public int getDurationDataSource() {
        return 0;
    }

    /** Get the long press touch slop multiplier data source. */
    public int getSlopDataSource() {
        return 0;
    }

    /** Return {@code true} if the Settings toggle is enabled. */
    public boolean isSettingsAllEntrypointsEnabled() {
        return false;