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

Commit bc2f58f2 authored by shaoweishen's avatar shaoweishen Committed by Shaowei Shen
Browse files

[Keyboard Setting] Fix build break from util rename

Bug: 380379870
Test: atest SettingsRoboTests
Flag: NONE, build break fix.
Change-Id: Iab66c248bebd41957805caa88dcb9031fb82afd4
parent 038d424c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

package com.android.settings.inputmethod;

import static com.android.settings.inputmethod.NewKeyboardSettingsUtils.isTouchpad;
import static com.android.settings.inputmethod.InputPeripheralsSettingsUtils.isTouchpad;

import android.app.settings.SettingsEnums;
import android.content.Context;
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public class TouchpadThreeFingerTapPreferenceController extends BasePreferenceCo

    @Override
    public int getAvailabilityStatus() {
        boolean isTouchpad = NewKeyboardSettingsUtils.isTouchpad();
        boolean isTouchpad = InputPeripheralsSettingsUtils.isTouchpad();
        return (InputSettings.isTouchpadThreeFingerTapShortcutFeatureFlagEnabled() && isTouchpad)
                ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
    }