From 8b14999cd08fa50eec36e0fb84662469bcf6b510 Mon Sep 17 00:00:00 2001 From: Peter Kalauskas Date: Fri, 8 Mar 2024 14:52:16 +0530 Subject: [PATCH] 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 --- .../lineageos/settings/device/AdvancedDisplayActivity.java | 4 ++-- dap/src/org/lineageos/dap/DolbyActivity.kt | 3 +-- doze/src/org/lineageos/settings/doze/SamsungDozeActivity.java | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java b/AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java index 774919e7..29dfc735 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 f12a30f6..4c437c40 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 ba8459de..992c357a 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(); } }