If you recently bought the Pixel 2 or Pixel 2 XL, you may not have noticed that it features driving ‘Do Not Disturb’ functionality, an extension of Android’s Do Not Disturb feature that’s currently unique to Google’s new pair of smartphones.
To enable the feature, pull down Android’s notification shade, tap the Do Not Disturb icon, tap “More Settings,” tap “Add more” under the “Automatic rules” subheading and finally tap on the “Driving” icon.
Once toggled on, the Pixel 2 and Pixel 2 XL will automatically enable Android’s Do Not Disturb functionality when the phone detects you’re driving. During this time, any incoming messages and notifications will automatically be silenced by the device.
However, users can still receive phones calls, as well as navigation directions and interact with their device using voice commands.
According to Google, powering this new functionality is an AI-powered algorithm that detects, using multiple sensors, Bluetooth and Wi-Fi, when the user is driving. Next year, the company will release this functionality to developers through an API called Activity Recognition Transition.
Source: Android Developers Blog