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

Commit 41f9566d authored by Fan Zhang's avatar Fan Zhang Committed by Gerrit Code Review
Browse files

Merge "Clean up: delete unused methods"

parents 7737b641 409a5f8c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -540,10 +540,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;
@@ -68,15 +67,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);