[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:
@@ -35,20 +35,21 @@ public interface KeyboardSettingsFeatureProvider {
|
||||
boolean supportsFirmwareUpdate();
|
||||
|
||||
/**
|
||||
* Add firmware update preference category .
|
||||
* Register firmware information preferences update on preference screen.
|
||||
*
|
||||
* @param context The context to initialize the application with.
|
||||
* @param screen The {@link PreferenceScreen} to add the firmware update preference category.
|
||||
*
|
||||
* @return true if the category is added successfully.
|
||||
* @param screen The {@link PreferenceScreen} to add the firmware information preferences.
|
||||
*/
|
||||
boolean addFirmwareUpdateCategory(Context context, PreferenceScreen screen);
|
||||
void registerKeyboardInformationCategory(@Nullable PreferenceScreen screen);
|
||||
|
||||
/**
|
||||
* Unregister firmware information preferences update on preference screen.
|
||||
*/
|
||||
void unregisterKeyboardInformationCategory();
|
||||
|
||||
/**
|
||||
* Get custom action key icon.
|
||||
*
|
||||
* @param context Context for accessing resources.
|
||||
*
|
||||
* @return Returns the image of the icon, or null if there is no any custom icon.
|
||||
*/
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user