commit | f8b7d1f37ab9a24b53f76f37521e5ed417cc4fce | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Fri Mar 22 16:10:56 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Wed Mar 27 10:37:29 2019 +0800 |
tree | f1123a4b43a1dcf98063ef7a76a90f58e03bacc8 | |
parent | 3c2ffd9770b384722f0f41f92bd1b9fe918e6556 [diff] |
Fix no output on second physical display The RefreshRateConfigs only store the configs of default display when init. But setAllowedDisplayConfigs would get NPE while getting these configs from secondary display. We need to cache the configs of external physical display when hotplug. Bug: 127868178 Test: build and flash mojave device. Change-Id: Ie1b598e8f77b28a444097deb0e05dda10d197db5