From: Peter Kalauskas Date: Fri, 8 Mar 2024 09:22:16 +0000 (+0530) Subject: samsung: Enable use_resource_processor for all sysui deps X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8b14999cd08fa50eec36e0fb84662469bcf6b510;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git samsung: Enable use_resource_processor for all sysui deps This will make the build faster Test: m checkbuild Bug: 295208392 Signed-off-by: RisenID Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e --- diff --git a/AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java b/AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java index 774919e..29dfc73 100644 --- a/AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java +++ b/AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java @@ -19,14 +19,14 @@ package org.lineageos.settings.device; import android.os.Bundle; import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity; -import com.android.settingslib.widget.R; public class AdvancedDisplayActivity extends CollapsingToolbarBaseActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - getFragmentManager().beginTransaction().replace(R.id.content_frame, + getFragmentManager().beginTransaction().replace( + com.android.settingslib.collapsingtoolbar.R.id.content_frame, new AdvancedDisplayFragment()).commit(); } } diff --git a/dap/src/org/lineageos/dap/DolbyActivity.kt b/dap/src/org/lineageos/dap/DolbyActivity.kt index f12a30f..4c437c4 100644 --- a/dap/src/org/lineageos/dap/DolbyActivity.kt +++ b/dap/src/org/lineageos/dap/DolbyActivity.kt @@ -19,13 +19,12 @@ package org.lineageos.dap import android.os.Bundle import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity -import com.android.settingslib.widget.R class DolbyActivity : CollapsingToolbarBaseActivity() { public override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) fragmentManager.beginTransaction().replace( - R.id.content_frame, + com.android.settingslib.collapsingtoolbar.R.id.content_frame, DolbyFragment() ).commit() } diff --git a/doze/src/org/lineageos/settings/doze/SamsungDozeActivity.java b/doze/src/org/lineageos/settings/doze/SamsungDozeActivity.java index ba8459d..992c357 100644 --- a/doze/src/org/lineageos/settings/doze/SamsungDozeActivity.java +++ b/doze/src/org/lineageos/settings/doze/SamsungDozeActivity.java @@ -18,7 +18,6 @@ package org.lineageos.settings.doze; import android.os.Bundle; import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity; -import com.android.settingslib.widget.R; public class SamsungDozeActivity extends CollapsingToolbarBaseActivity { @@ -27,7 +26,8 @@ public class SamsungDozeActivity extends CollapsingToolbarBaseActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - getFragmentManager().beginTransaction().replace(R.id.content_frame, + getFragmentManager().beginTransaction().replace( + com.android.settingslib.collapsingtoolbar.R.id.content_frame, new SamsungDozeSettings(), TAG).commit(); } }