Check for available rotation resolver service and camera permission before showing setting for face based auto-rotation
Test: locally with crosshatch & make -j64 RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.display.SmartAutoRotateControllerTest" Bug: 172857585 Change-Id: I825b0c2471c71a3de59532b39a47c5442f234fb5
This commit is contained in:
@@ -2713,8 +2713,6 @@
|
||||
<!-- Display settings --><skip/>
|
||||
<!-- Sound & display settings screen, section header for settings related to display -->
|
||||
<string name="display_settings">Display</string>
|
||||
<!-- Sound & display settings screen, section header for settings related to display -->
|
||||
<string name="rotate_settings_class" translatable="false">com.android.settings.DisplaySettings</string>
|
||||
<!-- Sound & display settings screen, accelerometer-based rotation check box label -->
|
||||
<string name="accelerometer_title">Auto-rotate screen</string>
|
||||
<!-- Sound & display settings screen, locked rotation check box label [CHAR LIMIT=30] -->
|
||||
|
||||
Reference in New Issue
Block a user