Revert "Migrate materialColor* attributes into colors"

Revert submission 29910036-color-rewrite

Reason for revert: DF Blocking bug:b/383230490 . Reverts will be cherry picked for a .003 release build.

Reverted changes: /q/submissionid:29910036-color-rewrite
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ed8074008f149acf8e1d472866803ff74c7a5d20)
Merged-In: I1229283119cbebb6f6e837b7bbd65480299086c4
Change-Id: I1229283119cbebb6f6e837b7bbd65480299086c4
This commit is contained in:
Daniel Chapin
2024-12-10 18:34:33 +00:00
committed by Android Build Coastguard Worker
parent 0dc6180a27
commit c8e84e540f
63 changed files with 127 additions and 125 deletions

View File

@@ -316,6 +316,7 @@ public class ModifierKeysPickerDialogFragment extends DialogFragment {
}
private int getColorOfMaterialColorPrimary() {
return mActivity.getColor(com.android.internal.R.color.materialColorPrimary);
return Utils.getColorAttrDefaultColor(
mActivity, com.android.internal.R.attr.materialColorPrimary);
}
}