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:
@@ -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);
|
||||
}
|
||||
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user