Switch fragments to SettingsPreferenceFragment
So all basic settings features are supported properly Change-Id: I1702272cdbc6c13a5d3ca53840113169a37d4d20 Fixes: 28634520
This commit is contained in:
@@ -23,9 +23,11 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
|
||||
import com.android.internal.logging.MetricsProto.MetricsEvent;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.SettingsPreferenceFragment;
|
||||
|
||||
public class ConfirmConvertToFbe extends Fragment {
|
||||
public class ConfirmConvertToFbe extends SettingsPreferenceFragment {
|
||||
static final String TAG = "ConfirmConvertToFBE";
|
||||
|
||||
@Override
|
||||
@@ -45,4 +47,9 @@ public class ConfirmConvertToFbe extends Fragment {
|
||||
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
return MetricsEvent.CONVERT_FBE_CONFIRM;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user