The feature has been spotted as early as Android 11, but has been improved upon in Android 12 and actually uses the front camera of your phone to work significantly better. Don't worry, Google isn't spying on you when this feature is on. The feature also makes the autorotate feature work better depending on which orientation it detects.
While autorotate has been a feature that has been a staple feature of Android OS for a long time, it gets better with each version of Android. Previously in Android 11, the phone relied on the gyro sensor to determine if it needs to switch orientation or not and give you the option to manually enable it. However, Android 12 now brings the front camera to this process and makes the feature a lot more intelligent.
Enabling face detection for autorotate in Android 12
Open up your Settings and head to Display.
Enter the Display settings and scroll down until you see Auto-rotate screen. Do not enable the toggle from here, tap on it.
From here, you now see the option to enable Use auto-rotate as a toggle, but there is another toggle below it that enables Face Detection. Toggle both of these to the on position.
![[Guide] How to enable Face Detection for Autorotate in Android 12 3](https://www.talkandroid.com/wp-content/uploads/2022/04/autorotate-face-detection-3.png)

With the feature now enabled, if you are using the phone in the right orientation, you are less likely to see the annoying auto-rotate prompt at the bottom of the screen when holding your phone in a certain position.
Previously in Android 11, you would see the auto-rotate icon regardless of how you are holding your as it was previously using the phone's gyro sensor. This feature now uses the front camera to better determine the prompt.
The feature is definitely handy for people who like to use the phone while in bed or lying sideways, however, there will be times when the feature may have a false positive response and may still give you the rotation prompt, but it is a whole lot better than the solution offered by Android 11.
This is one of the newer features in Android 12 that actively uses the front camera to improve the experience of using your phone. Another feature in Android 12 helps tie screen timeout to detect whether or not your face is looking at the camera, a handy feature that helps the phone from falling asleep when watching videos. We will cover this in a future guide!


