commit | 996ff0ceb33f218b5e90b9be93cb059337b45cfd | [log] [tgz] |
---|---|---|
author | Yifei Zhang <yfz@google.com> | Wed Oct 11 17:03:56 2023 -0700 |
committer | Yifei Zhang <yfz@google.com> | Wed Oct 11 17:08:57 2023 -0700 |
tree | 1d4a94b29e80d876c876584afd64509c79fae7ba | |
parent | e86f6d51cbd8c05d3991d41e07d4099f30e960fc [diff] |
swipe-dismiss: use original context for theme check - For legacy windowSwipeToDismiss resolution, use the original context instead of base context. (Wear-specific compat behavior) - Dialog uses a ContextWrapper that introduces additional theming. The base context would not correctly reflect the value for the window. Test: atest ClockworkSystemUI Bug: 294170826 Change-Id: I8a3098266d03b1de18925367ae281f72db3a61a1