diff --git a/core/res/res/layout/autofill_save.xml b/core/res/res/layout/autofill_save.xml
index fa690388472fb..d903524263113 100644
--- a/core/res/res/layout/autofill_save.xml
+++ b/core/res/res/layout/autofill_save.xml
@@ -100,7 +100,7 @@
android:id="@+id/autofill_save_yes"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- style="@style/Widget.Material.Button.Colored"
+ style="@style/Widget.DeviceDefault.Button.Colored"
android:text="@string/autofill_save_yes">
diff --git a/core/res/res/values/themes_device_defaults.xml b/core/res/res/values/themes_device_defaults.xml
index 25b053b0f0c5e..2327b33e83a72 100644
--- a/core/res/res/values/themes_device_defaults.xml
+++ b/core/res/res/values/themes_device_defaults.xml
@@ -1449,6 +1449,10 @@ easier.
- @dimen/config_dialogCornerRadius
- @style/Theme.DeviceDefault.Light.Dialog.Alert
+
+ - @dimen/config_buttonCornerRadius
+ - @style/Widget.DeviceDefault.Button.ButtonBar.AlertDialog
+
- @color/primary_device_default_light
- @color/primary_dark_device_default_light