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

Commit 409a5f8c authored by Fan Zhang's avatar Fan Zhang
Browse files

Clean up: delete unused methods

Test: rebuild
Change-Id: I144ebbdaf137ee091af949a9e38f68d02941f705
parent 98a1ebed
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);