Don't update everything when only refreshrate changes
This was going through the whole display-info-changed flow when only the refreshrate changed. This was causing updates with outdated information (where displaymanager callback happens before configurationchanged). The result is that things like touch-monitors (based on display info) were out-of-sync with view content (which is based on configuration). This change just updates the local record of screenrefresh when it changes. Bug: 179308296 Test: With fixed-rotation-in-config, open recents and repeatedly rotate the device. Make sure touch regions stay aligned with recents content. Change-Id: I9a8c553dfa55ec4402edcecac44bc87cb51c75fc
Loading
Please register or sign in to comment