commit | 1779ab1e5d4fed907353b7febe645b36c8a40322 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Tue Aug 16 10:09:48 2022 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Tue Aug 16 02:16:54 2022 +0000 |
tree | 870a0bbcba576647ce73fdbdfca897bb55ec7515 | |
parent | 4947508620802ea621edbf498bf54b3cc453d7b4 [diff] |
Fix violation in DecorContext The issue happens when activity is launched on the secondary display. It's because the base context of DecorContext is a DisplayContext, but we should check #isConfigurationContext in associatd window's Context instead, like DecorContext#isUiContext fixes: 242571036 Test: manual - launch activity on the secondary display Change-Id: Ie2659fb31248ad64099018bfebb6a6b43c72f466