commit | 441efaec077bd7b65420e200e8e63f5114245a36 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Mon Apr 20 15:05:12 2020 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Mon Apr 27 16:37:52 2020 +0800 |
tree | 6e5ceec97e5c21f4aa6c15bfc07b490c2029a1fb | |
parent | 6661575791ea87bbe990ca1ffc5c20701bffa2e3 [diff] |
Fix error in DecorView's ViewConfiguration In ViewConfiguration, we use isUiContext to verify if a context is an visual context. However, DecorContext uses Application context as a base context and return false as intended. This patch overrides isUiContext to report context#isUiContext instead. fixes: 153664027 Test: atest DecorContextTest#testIsUiContextFromVisualDecorContext Change-Id: Ida26b9617c74dc6997fc2c00d97d3420a0978fc7