Updates messages for hearing devices related page

1. Removes the footer in hearing devices page
2. Moves the footer message to top intro of hearing devices pairing
   page

Bug: 321840161
Test: build pass, only simple UI change
Change-Id: I0554f0e6d12f78c1df3efba23792e9c0dc3f061f
This commit is contained in:
Angela Wang
2024-02-27 06:30:18 +00:00
parent 4a2b4a87d7
commit 956168070e
5 changed files with 6 additions and 61 deletions

View File

@@ -1,35 +0,0 @@
/*
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.settings.accessibility;
import android.content.Context;
import com.android.settings.R;
/** Preference controller for footer in pair hearing device page. */
public class PairHearingDeviceFooterPreferenceController extends
AccessibilityFooterPreferenceController {
public PairHearingDeviceFooterPreferenceController(Context context,
String key) {
super(context, key);
}
@Override
protected String getIntroductionTitle() {
return mContext.getString(R.string.accessibility_pair_hearing_device_about_title);
}
}