Regardless of if you like, don’t like, or vehemently hate sensor notches on smartphones, the reality is that they are coming into vogue. Google themselves are expected to have a notched device in the Pixel 3 XL and there are already notched devices out there from the likes of Essential and Huawei. That said, Android Oreo has never fully supported notches but that changes under Android P.
The Android team over at Google took to the Android Development blog yesterday to outline some key code elements that developers need to use in order to make sure their apps work with a notched device in Android P. They also laid down the law for manufactures too. No device will have more that two notches.