Files
packages_apps_Dialer/java/com/android/dialer/app/settings/DisplayOptionsSettingsFragment.java
Michael W 090696faa0 Dialer: Fix settings
* RingtonePreference doesn't exist in androidx world - we have to
  make our own
* We don't need to remove the dividers anymore - androidx doesn't have
  them in the first place
* AppCompatPreferenceActivity is deprecated as well, make it
  an AppCompatActivity and start using fragments

Change-Id: I54d22868deb8950618b69652ae3810b8e0bcdb80
2024-01-30 19:12:14 +01:00

34 lines
1.1 KiB
Java

/*
* Copyright (C) 2015 The Android Open Source Project
* Copyright (C) 2023 The LineageOS 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.dialer.app.settings;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.preference.PreferenceFragmentCompat;
import com.android.dialer.R;
public class DisplayOptionsSettingsFragment extends PreferenceFragmentCompat {
@Override
public void onCreatePreferences(@Nullable Bundle savedInstanceState, @Nullable String rootKey) {
addPreferencesFromResource(R.xml.display_options_settings);
}
}