From: Peter Kalauskas Date: Mon, 18 Sep 2023 22:10:57 +0000 (+0000) Subject: MotoActions: Enable use_resource_processor for all sysui deps X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=320254d1c42fb1d6c0e03f44d574320def973481;p=GitHub%2FLineageOS%2Fandroid_hardware_motorola.git MotoActions: Enable use_resource_processor for all sysui deps This will make the build faster Test: m checkbuild Bug: 295208392 Change-Id: I0c1bd901429bbe3bf81c1530e156735f8637a96e --- diff --git a/MotoActions/src/org/lineageos/settings/device/ActionsPreferenceActivity.java b/MotoActions/src/org/lineageos/settings/device/ActionsPreferenceActivity.java index 582c8be..23abb27 100644 --- a/MotoActions/src/org/lineageos/settings/device/ActionsPreferenceActivity.java +++ b/MotoActions/src/org/lineageos/settings/device/ActionsPreferenceActivity.java @@ -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(); } } diff --git a/MotoActions/src/org/lineageos/settings/device/DozePreferenceActivity.java b/MotoActions/src/org/lineageos/settings/device/DozePreferenceActivity.java index ffcc2e5..5f30dc8 100644 --- a/MotoActions/src/org/lineageos/settings/device/DozePreferenceActivity.java +++ b/MotoActions/src/org/lineageos/settings/device/DozePreferenceActivity.java @@ -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(); } }