Closed XiaochenFTX closed 4 years ago
I get a wrong safe area on pixel 4 XL.
The reason is the safe area values are NAN when app start. And then the recttransform will be set some wrong value.
I added some defense codes,let the size will not be too much wrong.
It is work on my pixel 4 XL.
I get a wrong safe area on pixel 4 XL.
The reason is the safe area values are NAN when app start. And then the recttransform will be set some wrong value.
I added some defense codes,let the size will not be too much wrong.
It is work on my pixel 4 XL.