Settings: Add rotation settings
* Links to LineageParts Change-Id: I896c53089fca0ee3b0e867144bb1d72fe8946eaf
This commit is contained in:
committed by
Michael Bestas
parent
5f81556f83
commit
0e30559b26
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (C) 2020-2021 The LineageOS Project
|
Copyright (C) 2020-2024 The LineageOS Project
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|||||||
@@ -148,6 +148,12 @@
|
|||||||
settings:keywords="@string/keywords_auto_rotate"
|
settings:keywords="@string/keywords_auto_rotate"
|
||||||
settings:controller="com.android.settings.display.DeviceStateAutoRotateOverviewController"/>
|
settings:controller="com.android.settings.display.DeviceStateAutoRotateOverviewController"/>
|
||||||
|
|
||||||
|
<lineageos.preference.LineagePartsPreference
|
||||||
|
android:key="rotation"
|
||||||
|
settings:replacesKey="auto_rotate"
|
||||||
|
settings:requiresConfig="@*lineageos.platform:bool/config_enableAdvancedRotationSettings"
|
||||||
|
settings:requiresFeature="android.hardware.sensor.accelerometer" />
|
||||||
|
|
||||||
<Preference
|
<Preference
|
||||||
android:key="screen_resolution"
|
android:key="screen_resolution"
|
||||||
android:title="@string/screen_resolution_title"
|
android:title="@string/screen_resolution_title"
|
||||||
|
|||||||
Reference in New Issue
Block a user