samsung: Enable use_resource_processor for all sysui deps
authorPeter Kalauskas <peskal@google.com>
Fri, 8 Mar 2024 09:22:16 +0000 (14:52 +0530)
committerLuK1337 <priv.luk@gmail.com>
Wed, 20 Mar 2024 15:54:23 +0000 (16:54 +0100)
This will make the build faster

Test: m checkbuild
Bug: 295208392
Signed-off-by: RisenID <risen@pixelexperience.org>
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e

AdvancedDisplay/src/org/lineageos/settings/device/AdvancedDisplayActivity.java
dap/src/org/lineageos/dap/DolbyActivity.kt
doze/src/org/lineageos/settings/doze/SamsungDozeActivity.java

index 774919e7bdace7375ea2542ff8b5bb2cd574cd16..29dfc73530f5a4911fc6f4c80e7b56c9e118490f 100644 (file)
@@ -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();
     }
 }
index f12a30f648f034d93cca306fa46b872ed94eee36..4c437c406a01f15ff63dcc21610f6141e98637ed 100644 (file)
@@ -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()
     }
index ba8459de07749368114f585165a691d503d76780..992c357ad29c367748f50504ea17030324f9998a 100644 (file)
@@ -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();
     }
 }