"You can check whether the current device has a cutout by calling getDisplayCutout (), and then determine the location and shape of the cutout area using DisplayCutout", writes Dave Burke, Google VP of Engineering.
Google mentioned the update would happen at the Mobile World Congress but did not mention when users could expect the update this month. It can identify brands, restaurants, or objects you see in real life, or scan things like business cards or flyers for phone numbers and addresses.
Google on Wednesday announced Android P is now available through its developer program. The Google Photos Twitter rep has informed many impatient smartphone users that the update is being pushed out "in batches", so your device may not get the new tech for a few days.
Google seems to be firmly focusing on its AI and Machine learning by introducing this Lens feature to all the Android phones via Google Photos app. These features are part of the Google Assistant, where the camera is used to scan and identify the object or place.
If you are an Android user and have Google Photos installed, get ready to experience Lens.
If the menu card is in a foreign language, Google Lens can also translate it into English or your mother tongue (select global languages).
Google is officially rolling out Lens to Android users, who use Google Photos. You will be able to use Smart Replies, stickers and images directly from within a notification when responding. According to Google, "This is because the app is being rolled out on a gradual basis".
So, yes, you can expect more iPhone X-looking Android devices in the future. Lucky for you, the user moneytoo over at the XDA Forums has created the Pay Enabler app to solve this issue.