MotoActions: Enable use_resource_processor for all sysui deps
authorPeter Kalauskas <peskal@google.com>
Mon, 18 Sep 2023 22:10:57 +0000 (22:10 +0000)
committerMichael Bestas <mkbestas@lineageos.org>
Sun, 10 Mar 2024 20:46:04 +0000 (22:46 +0200)
This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e

MotoActions/src/org/lineageos/settings/device/ActionsPreferenceActivity.java
MotoActions/src/org/lineageos/settings/device/DozePreferenceActivity.java

index 582c8beac921290767935d01222114bbf2273c06..23abb27d1968700dd8cfec8105d0f2da55777022 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (c) 2016 The CyanogenMod Project
- * Copyright (c) 2017-2022 The LineageOS Project
+ * Copyright (c) 2017-2024 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.
@@ -20,7 +20,6 @@ package org.lineageos.settings.device;
 import android.os.Bundle;
 
 import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity;
-import com.android.settingslib.widget.R;
 
 public class ActionsPreferenceActivity extends CollapsingToolbarBaseActivity {
 
@@ -29,7 +28,8 @@ public class ActionsPreferenceActivity extends CollapsingToolbarBaseActivity {
         super.onCreate(savedInstanceState);
         getFragmentManager()
                 .beginTransaction()
-                .replace(R.id.content_frame, new ActionsPreferenceFragment())
+                .replace(com.android.settingslib.collapsingtoolbar.R.id.content_frame,
+                        new ActionsPreferenceFragment())
                 .commit();
     }
 }
index ffcc2e55acbe50b1ca3776d0b81314813189dafa..5f30dc83e250a0d5fc80a071e7857930098b5adb 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2015-2016 The CyanogenMod Project
- *               2017,2022 The LineageOS Project
+ *               2017-2024 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.
@@ -20,7 +20,6 @@ package org.lineageos.settings.device;
 import android.os.Bundle;
 
 import com.android.settingslib.collapsingtoolbar.CollapsingToolbarBaseActivity;
-import com.android.settingslib.widget.R;
 
 public class DozePreferenceActivity extends CollapsingToolbarBaseActivity {
 
@@ -31,7 +30,8 @@ public class DozePreferenceActivity extends CollapsingToolbarBaseActivity {
         super.onCreate(savedInstanceState);
         getFragmentManager()
                 .beginTransaction()
-                .replace(R.id.content_frame, new DozePreferenceFragment(), TAG_DOZE)
+                .replace(com.android.settingslib.collapsingtoolbar.R.id.content_frame,
+                        new DozePreferenceFragment(), TAG_DOZE)
                 .commit();
     }
 }