Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60b69c3c authored by Danny Lin's avatar Danny Lin Committed by Sahil Sonar
Browse files

FP5: overlay: Enable Smooth Display setting

FP5 has peak refresh rate higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
parent c83e1717
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -325,6 +325,7 @@ PRODUCT_PACKAGES += \
    eCameraTarget \
    FrameworksResCommon \
    FrameworksResTarget \
    SettingsResCommon \
    SystemUIResCommon \
    SystemUIResTarget \
    TelephonyResCommon \
+9 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2022 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//

runtime_resource_overlay {
    name: "SettingsResCommon",
    vendor: true,
}
+13 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2022 The LineageOS Project
     SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.settings.common">

    <overlay
        android:isStatic="true"
        android:priority="800"
        android:targetPackage="com.android.settings" />
</manifest>
+4 −0
Original line number Diff line number Diff line
<resources>
    <!-- Whether to show Smooth Display feature in Settings Options -->
    <bool name="config_show_smooth_display">true</bool>
</resources>