We'll need to provide APIs to better support this device feature. Preferably re-use the existing APIs used by iPhone X such as our Window.extendSafeArea property.
Android 9.0 (API Level 28) provides new APIs to help with us. They're listed here...
Also, the window won't render into the cutout unless we set additional window flags such as the following...
Huawei has their own custom notch support on Android 8 which they document in the link below. Note that these are not official Google Android APIs.