Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -215,7 +215,7 @@ public class KeyboardLayoutDialogFragment extends InstrumentedDialogFragment
|
||||
private void updateSwitchHintVisibility() {
|
||||
AlertDialog dialog = (AlertDialog)getDialog();
|
||||
if (dialog != null) {
|
||||
View customPanel = dialog.findViewById(R.id.customPanel);
|
||||
View customPanel = dialog.findViewById(com.google.android.material.R.id.customPanel);
|
||||
customPanel.setVisibility(mAdapter.getCount() > 1 ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user