Revert "Automated Token Alignment Android/Material"
This reverts commit c9ca4a9014
.
Reason for revert: Black Search Box in Settings App (Light Theme)
Change-Id: I936e977ce044b8da41d818d6b3392adc6fd1e4e6
This commit is contained in:
committed by
Android (Google) Code Review
parent
c9ca4a9014
commit
1b599e0232
@@ -234,6 +234,6 @@ public class ModifierKeysPickerDialogFragment extends DialogFragment {
|
||||
|
||||
private int getColorOfColorAccentPrimaryVariant() {
|
||||
return Utils.getColorAttrDefaultColor(
|
||||
mContext, com.android.internal.R.attr.materialColorPrimaryContainer);
|
||||
mContext, com.android.internal.R.attr.colorAccentPrimaryVariant);
|
||||
}
|
||||
}
|
||||
|
@@ -158,7 +158,7 @@ public class ModifierKeysPreferenceController extends BasePreferenceController {
|
||||
|
||||
private int getColorOfColorAccentPrimaryVariant() {
|
||||
return Utils.getColorAttrDefaultColor(
|
||||
mContext, com.android.internal.R.attr.materialColorPrimaryContainer);
|
||||
mContext, com.android.internal.R.attr.colorAccentPrimaryVariant);
|
||||
}
|
||||
|
||||
private static boolean isCtrl(int keyCode) {
|
||||
|
@@ -96,7 +96,7 @@ public class ModifierKeysRestorePreferenceController extends BasePreferenceContr
|
||||
|
||||
private int getColorOfColorAccentPrimaryVariant() {
|
||||
return Utils.getColorAttrDefaultColor(
|
||||
mParent.getActivity(), com.android.internal.R.attr.materialColorPrimaryContainer);
|
||||
mParent.getActivity(), com.android.internal.R.attr.colorAccentPrimaryVariant);
|
||||
}
|
||||
|
||||
private void clearPreviousDialog() {
|
||||
|
Reference in New Issue
Block a user