[PhysicalKeyboard] Update Setting Feature Provider for follow up usage

rename method in provider and usage, the provider is not activated now,
this change will not have impact on current feature.

Bug: 369937888
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
Flag: NONE, rename method, no effect on current feature.

Change-Id: I1bb66b106c338a8a8730bbd9163d6a921c17b9c0
This commit is contained in:
shaoweishen
2024-10-18 02:42:08 +00:00
parent 37ae076618
commit dba15f821f
4 changed files with 19 additions and 27 deletions

View File

@@ -19,6 +19,7 @@ package com.android.settings.inputmethod;
import android.content.Context;
import android.graphics.drawable.Drawable;
import androidx.annotation.Nullable;
import androidx.preference.PreferenceScreen;
/**
@@ -32,12 +33,13 @@ public class KeyboardSettingsFeatureProviderImpl implements KeyboardSettingsFeat
}
@Override
public boolean addFirmwareUpdateCategory(Context context, PreferenceScreen screen) {
return false;
}
public void registerKeyboardInformationCategory(@Nullable PreferenceScreen screen) {}
@Override
public void unregisterKeyboardInformationCategory() {}
@Override
public Drawable getActionKeyIcon(Context context) {
return null;
};
}
}