Query the display status from DisplayInfo
During the resolution changes, the display status in DisplayMetrics is obsolete during the resolution changes. To get the accurate display status, we query the status from DisplayInfo, instead of DisplayMetrics. Bug: 233698163 Test: Switch resolution with customized density Change-Id: I360aeecab0feaa5d21cc7a5679ff50e735ed8043
Loading
Please register or sign in to comment