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

Commit b371dea0 authored by Fan Zhang's avatar Fan Zhang Committed by android-build-merger
Browse files

Merge "Clean up: delete unused methods"

am: 41f9566d

Change-Id: I973b289c688c04c00f70a6c0ba15a5b205d6633a
parents 97cb71e9 41f9566d
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -539,10 +539,6 @@ public abstract class SettingsPreferenceFragment extends InstrumentedPreferenceF
        private DialogInterface.OnCancelListener mOnCancelListener;
        private DialogInterface.OnDismissListener mOnDismissListener;

        public SettingsDialogFragment() {
            /* do nothing */
        }

        public SettingsDialogFragment(DialogCreatable fragment, int dialogId) {
            super(fragment, dialogId);
            if (!(fragment instanceof Fragment)) {
+0 −10
Original line number Diff line number Diff line
@@ -17,7 +17,6 @@
package com.android.settings.connecteddevice.usb;

import android.content.Context;
import android.os.Bundle;
import android.provider.SearchIndexableResource;
import androidx.annotation.VisibleForTesting;

@@ -67,15 +66,6 @@ public class UsbDetailsFragment extends DashboardFragment {
        return R.xml.usb_details_fragment;
    }

    @Override
    public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
        super.onCreatePreferences(savedInstanceState, rootKey);
    }

    public boolean isConnected() {
        return mUsbReceiver.isConnected();
    }

    @Override
    protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
        mUsbBackend = new UsbBackend(context);