Merge "Clean up: delete unused methods" am: 41f9566da8
am: b371dea0cb
am: 88cbe51f27
Change-Id: Ib166230d692cc7a3973355239161ed88ffd6af60
This commit is contained in:
@@ -541,10 +541,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;
|
||||||
@@ -70,15 +69,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