Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fec8df10 authored by Chen Bai's avatar Chen Bai
Browse files

m3: guard wear material3 UI change for AlertDialog

Share the same UX change guarding condition as Platform Button
(ag/30167572):
1. app target sdk is 36 or above.
2. feature flag rolled-out.
3. device is a watch.
4. button uses Theme.DeviceDefault.

Group Wear Material3 styles to a new layout and only refer it
in the new style. This decouple the new from old style hierarchy to
avoid messing up layout if existing AlertDialog has its own style
tweeks.

Bug: 377422490
Bug: 379365266
Test: manual
Flag: android.widget.flags.use_wear_material3_ui
Change-Id: I230b74d5e2b0d2b599f24a01d7548076f45151d1
parent cd0151ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment