commit | 505dbe3dd9d9d8f59b1d950f9ad8823ba9b2f029 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Mon Apr 12 22:50:32 2021 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Tue Apr 13 15:23:04 2021 +0800 |
tree | c38c7a044ef038044620538150834cfd8b880f52 | |
parent | c7469537d945dd5bff270545a7b13e112a553411 [diff] |
Fix WindowContext cannot receive global config ... change on secondary display. Previously we listen to #onRequestedOverrideConfigurationChanged() to receive config changes, which only propagate callbacks if there's a requested override configuration. This CL changes to listen to #onMergedOverrideConfigurationChanged() to ensure every config change will propagate to WindowContext. fixes: 185190979 Test: atest WindowContextTests Change-Id: I0299a2795bd0b009ec2291a36aa1c87e163222b7