https://source.android.com/docs/core/interaction/sensors/sen...
https://source.android.com/docs/core/interaction/sensors/sen...
I’m curious what you do with this information. Can you share?
'Cause if not, it makes perfect sense for nostrademons to be doing it themselves.
The bigger issue is that there's always a long-tail of product considerations that need to be different on foldables and aren't covered by just feature-detecting the available screen resolution. Logging is one: PMs are very interested in how the category as a whole is performing, if only to direct future hardware plans, and that requires that it actually be categorized as a separate category. Backend requests are another: you can (and should) optimize your bandwidth usage on phones by not shipping to the client information that is only going to be displayed on large screens, and you can (and should) optimize your screen usage on large screens by displaying more information that is not available on phones, but foldables represent the union of the two, and you usually don't want the latency of additional backend requests when the user fold/unfolds the device.
(The irony is that the app in question is Google Play, and I personally know most of the PMs and several of the engineers on Android SysUI.)