Revert "LineageSettingsProvider: Allow enabling lockscreen rotation by default"
This reverts commit 1a53318ab3.
Change-Id: I886affb6949ca928b92b496116b9ad3d77827ed0
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014-2015 The CyanogenMod Project
|
||||
2019-2023 The LineageOS Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Defaults for System -->
|
||||
|
||||
<!-- Default value for lockscreen rotation -->
|
||||
<bool name="def_lockscreen_rotation">true</bool>
|
||||
|
||||
</resources>
|
||||
@@ -82,7 +82,4 @@
|
||||
-->
|
||||
<integer name="def_clock_position">2</integer>
|
||||
|
||||
<!-- Default value for lockscreen rotation -->
|
||||
<bool name="def_lockscreen_rotation">false</bool>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -451,9 +451,6 @@ public class LineageDatabaseHelper extends SQLiteOpenHelper{
|
||||
loadIntegerSetting(stmt, LineageSettings.System.STATUS_BAR_CLOCK,
|
||||
R.integer.def_clock_position);
|
||||
|
||||
loadBooleanSetting(stmt, LineageSettings.System.LOCKSCREEN_ROTATION,
|
||||
R.bool.def_lockscreen_rotation);
|
||||
|
||||
if (mContext.getResources().getBoolean(R.bool.def_notification_pulse_custom_enable)) {
|
||||
loadStringSetting(stmt, LineageSettings.System.NOTIFICATION_LIGHT_PULSE_CUSTOM_VALUES,
|
||||
R.string.def_notification_pulse_custom_value);
|
||||
|
||||
Reference in New Issue
Block a user