Change dialog text styles
Fixes: 126890487 Test: visual Change-Id: I21b4264fd6b5c7f5fb79c3669bae366513c1ec65
This commit is contained in:
@@ -27,7 +27,6 @@ import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.ListAdapter;
|
||||
import android.widget.ListView;
|
||||
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
@@ -78,7 +77,8 @@ public class NotificationLockscreenPreference extends RestrictedListPreference {
|
||||
DialogInterface.OnClickListener innerListener) {
|
||||
|
||||
mListener = new Listener(innerListener);
|
||||
builder.setSingleChoiceItems(createListAdapter(), getSelectedValuePos(), mListener);
|
||||
builder.setSingleChoiceItems(createListAdapter(builder.getContext()), getSelectedValuePos(),
|
||||
mListener);
|
||||
mShowRemoteInput = getEntryValues().length == 3;
|
||||
mAllowRemoteInput = Settings.Secure.getInt(getContext().getContentResolver(),
|
||||
Settings.Secure.LOCK_SCREEN_ALLOW_REMOTE_INPUT, 0) != 0;
|
||||
@@ -116,11 +116,6 @@ public class NotificationLockscreenPreference extends RestrictedListPreference {
|
||||
mListener.setView(panel);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ListAdapter createListAdapter() {
|
||||
return new RestrictedArrayAdapter(getContext(), getEntries(), -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDialogClosed(boolean positiveResult) {
|
||||
super.onDialogClosed(positiveResult);
|
||||
|
Reference in New Issue
Block a user