android12系统隐藏状态栏上的‘自动旋转屏幕选项’
frameworks/base/packages/SystemUI/res/values/config.xml
<!-- The default tiles to display in QuickSettings -->
<string name="quick_settings_tiles_default" translatable="false">
wifi,bt,dnd,volte1,volte2,vowifi,lte1,lte2,nr1,nr2,flashlight,rotation,battery,cell,airplane,cast,screenrecord
</string>
<!-- Tiles native to System UI. Order should match "quick_settings_tiles_default" -->
<string name="quick_settings_tiles_stock" translatable="false">
wifi,cell,battery,dnd,volte1,volte2,vowifi,lte1,lte2,nr1,nr2,flashlight,rotation,bt,airplane,location,hotspot,inversion,saver,dark,work,cast,night,screenrecord,reverse,longscreenshot,superbattery
</string>
<!-- The tiles to display in QuickSettings in retail mode -->
<string name="quick_settings_tiles_retail_mode" translatable="false">
night,dark,dnd,volte1,volte2,vowifi,lte1,lte2,nr1,nr2,flashlight,rotation,location
</string>
去掉rotation
操作如下啊