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

@@ -80,7 +80,7 @@ public class RecentLocationAccessPreferenceControllerTest {
mController.init(mDashboardFragment);
final String key = mController.getPreferenceKey();
mAppEntitiesHeaderView = LayoutInflater.from(mContext).inflate(
com.android.settingslib.widget.R.layout.app_entities_header, null /* root */);
com.android.settingslib.widget.entityheader.R.layout.app_entities_header, null /* root */);
when(mScreen.findPreference(key)).thenReturn(mLayoutPreference);
when(mLayoutPreference.getKey()).thenReturn(key);
when(mLayoutPreference.getContext()).thenReturn(mContext);
@@ -109,7 +109,7 @@ public class RecentLocationAccessPreferenceControllerTest {
assertThat(title.getText()).isEqualTo(
mContext.getText(R.string.location_category_recent_location_access));
final TextView details = mAppEntitiesHeaderView
.findViewById(com.android.settingslib.widget.R.id.header_details);
.findViewById(com.android.settingslib.widget.entityheader.R.id.header_details);
assertThat(details.getText()).isEqualTo(
mContext.getText(R.string.location_recent_location_access_view_details));
assertThat(details.hasOnClickListeners()).isTrue();