Merge "Clean up: delete unused methods"
This commit is contained in:
@@ -540,10 +540,6 @@ public abstract class SettingsPreferenceFragment extends InstrumentedPreferenceF
|
|||||||
private DialogInterface.OnCancelListener mOnCancelListener;
|
private DialogInterface.OnCancelListener mOnCancelListener;
|
||||||
private DialogInterface.OnDismissListener mOnDismissListener;
|
private DialogInterface.OnDismissListener mOnDismissListener;
|
||||||
|
|
||||||
public SettingsDialogFragment() {
|
|
||||||
/* do nothing */
|
|
||||||
}
|
|
||||||
|
|
||||||
public SettingsDialogFragment(DialogCreatable fragment, int dialogId) {
|
public SettingsDialogFragment(DialogCreatable fragment, int dialogId) {
|
||||||
super(fragment, dialogId);
|
super(fragment, dialogId);
|
||||||
if (!(fragment instanceof Fragment)) {
|
if (!(fragment instanceof Fragment)) {
|
||||||
|
@@ -17,7 +17,6 @@
|
|||||||
package com.android.settings.connecteddevice.usb;
|
package com.android.settings.connecteddevice.usb;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.Bundle;
|
|
||||||
import android.provider.SearchIndexableResource;
|
import android.provider.SearchIndexableResource;
|
||||||
|
|
||||||
import androidx.annotation.VisibleForTesting;
|
import androidx.annotation.VisibleForTesting;
|
||||||
@@ -68,15 +67,6 @@ public class UsbDetailsFragment extends DashboardFragment {
|
|||||||
return R.xml.usb_details_fragment;
|
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
|
@Override
|
||||||
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
||||||
mUsbBackend = new UsbBackend(context);
|
mUsbBackend = new UsbBackend(context);
|
||||||
|
Reference in New Issue
Block a user