Get All Display Specifications in Android Foldable including Closed One

30 views Asked by At

I want to retrieve display specs for all screen in Foldable devices. DisplayManager.getDisplays only return currently active display. I've tried with displayManager.getDisplays("android.hardware.display.category.ALL_INCLUDING_DISABLED"), but it only works on Pixel Fold. It doesnt work with Galaxy Z Fold. How can i achieve the same result that can works in all Foldable? Is that possible?

0

There are 0 answers