diff options
| author | Charles Chen <charlesccchen@google.com> | 2020-04-20 15:05:12 +0800 |
|---|---|---|
| committer | Charles Chen <charlesccchen@google.com> | 2020-04-27 16:37:52 +0800 |
| commit | 441efaec077bd7b65420e200e8e63f5114245a36 (patch) | |
| tree | 6e5ceec97e5c21f4aa6c15bfc07b490c2029a1fb /docs/html/sdk/api_diff/15/changes | |
| 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
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions
