'"Sensors Off" developer tile removed in Android 12 - Can't open camera

I recently updated my OnePlus 8t phone to Android 12, I was on Android 11 before, I quickly noticed the new camera and microphone tiles in the notification drawer. I like this new individual tiles for them.

I was previously using a work around solution in Android 11 with the "Sensors Off" tile located in the developer options under 'Quick settings developer tiles'. This disabled the phones camera and other sensors while the tile is on.

I had the tile on as I updated my phone to Android 12, not knowing it would cause an issue, I left the sensors disabled and removed the tile from both the notification drawer and the developer settings!!!

I now can't use my camera in the app (it just won't open) or use the camera in any app (it just displays a black screen, can't even click the shutter button to take a black picture)

Is there anything I can do??! I've already given feedback to the Android Open Source Project.



Solution 1:[1]

The actual answer is to enable the tile in the Developer options > Quick settings developer tiles:

Quick settings developer tiles

Which then permits to flip the switch:

Quick settings developer tiles, in action

This at least works on a Motorola G100.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1