Enable use_resource_processor for all sysui deps

This will make the build faster

Test: m checkbuild
Bug: 295208392
Change-Id: If75acb6b1c3f204e3686c20cef609f7cfabe15cf
This commit is contained in:
Peter Kalauskas
2023-08-23 17:41:28 -07:00
parent 08710ee575
commit 80e914a263
49 changed files with 101 additions and 96 deletions

View File

@@ -108,7 +108,7 @@ public class ScreenResolutionFragment extends RadioButtonPickerFragment {
footerPreference.setTitle(R.string.screen_resolution_footer);
footerPreference.setSelectable(false);
footerPreference.setLayoutResource(
com.android.settingslib.widget.R.layout.preference_footer);
com.android.settingslib.widget.preference.footer.R.layout.preference_footer);
screen.addPreference(footerPreference);
}

View File

@@ -129,7 +129,7 @@ public class ScreenTimeoutSettings extends RadioButtonPickerFragment implements
mPrivacyPreference.setTitle(R.string.adaptive_sleep_privacy);
mPrivacyPreference.setSelectable(false);
mPrivacyPreference.setLayoutResource(
com.android.settingslib.widget.R.layout.preference_footer);
com.android.settingslib.widget.preference.footer.R.layout.preference_footer);
mPrivacyManager = SensorPrivacyManager.getInstance(context);
mPrivacyChangedListener = (sensor, enabled) -> mAdaptiveSleepController.updatePreference();
}
@@ -203,7 +203,7 @@ public class ScreenTimeoutSettings extends RadioButtonPickerFragment implements
mPrivacyPreference.setTitle(R.string.adaptive_sleep_privacy);
mPrivacyPreference.setSelectable(false);
mPrivacyPreference.setLayoutResource(
com.android.settingslib.widget.R.layout.preference_footer);
com.android.settingslib.widget.preference.footer.R.layout.preference_footer);
if (isScreenAttentionAvailable(getContext())) {
mAdaptiveSleepPermissionController.addToScreen(screen);