diff --git a/aconfig/Android.bp b/aconfig/Android.bp index b2ffa222e2f..d511d0463c2 100644 --- a/aconfig/Android.bp +++ b/aconfig/Android.bp @@ -1,4 +1,5 @@ package { + default_team: "trendy_team_android_settings_app", default_applicable_licenses: ["packages_apps_Settings_license"], } diff --git a/res/values/strings.xml b/res/values/strings.xml index 836a27f0a5c..97a9cd53add 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1268,7 +1268,7 @@ To stop other people knowing you have a private space on your device, you can hide it from your apps list Access private space when hidden - + From your apps list, enter \"private space\" in the search bar Tap the private space tile diff --git a/src/com/android/settings/biometrics/fingerprint2/lib/Android.bp b/src/com/android/settings/biometrics/fingerprint2/lib/Android.bp index 145f3d682ea..9f753b2d5d7 100644 --- a/src/com/android/settings/biometrics/fingerprint2/lib/Android.bp +++ b/src/com/android/settings/biometrics/fingerprint2/lib/Android.bp @@ -2,13 +2,17 @@ // unit/robo/screenshot etc. // // This library shouldn't have many dependencies. +package { + default_team: "trendy_team_android_settings_app", +} + android_library { name: "FingerprintManagerInteractor", srcs: [ - "**/*.kt" + "**/*.kt", ], static_libs: [ - "BiometricsSharedLib", - "kotlinx-coroutines-android", + "BiometricsSharedLib", + "kotlinx-coroutines-android", ], -} \ No newline at end of file +} diff --git a/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java b/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java index 135be4bc055..6c96f852ddc 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java @@ -108,6 +108,9 @@ public class StylusDevicesControllerTest { MockitoAnnotations.initMocks(this); mContext = spy(ApplicationProvider.getApplicationContext()); + final var spiedResources = spy(mContext.getResources()); + when(mContext.getResources()).thenReturn(spiedResources); + PreferenceManager preferenceManager = new PreferenceManager(mContext); mScreen = preferenceManager.createPreferenceScreen(mContext); mPreferenceContainer = new PreferenceCategory(mContext); @@ -144,6 +147,9 @@ public class StylusDevicesControllerTest { when(mInputDevice.hasKeys(KEYCODE_STYLUS_BUTTON_TAIL)).thenReturn( new boolean[]{true}); + when(spiedResources.getBoolean( + com.android.internal.R.bool.config_enableStylusPointerIcon)).thenReturn(true); + mController = new StylusDevicesController(mContext, mInputDevice, null, mLifecycle); } @@ -237,7 +243,7 @@ public class StylusDevicesControllerTest { Preference handwritingPref = mPreferenceContainer.getPreference(0); Preference buttonPref = mPreferenceContainer.getPreference(1); - assertThat(mPreferenceContainer.getPreferenceCount()).isEqualTo(2); + assertThat(mPreferenceContainer.getPreferenceCount()).isEqualTo(3); assertThat(handwritingPref.getTitle().toString()).isEqualTo( mContext.getString(R.string.stylus_textfield_handwriting)); assertThat(handwritingPref.isVisible()).isTrue(); diff --git a/tests/screenshot/Android.bp b/tests/screenshot/Android.bp index 59893816813..5130fe50cb9 100644 --- a/tests/screenshot/Android.bp +++ b/tests/screenshot/Android.bp @@ -13,6 +13,10 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_team: "trendy_team_android_settings_app", +} + android_app { name: "ScreenshotTestStub", defaults: [ diff --git a/tests/shared/Android.bp b/tests/shared/Android.bp index 27573e8c8e1..6fd9f6473f2 100644 --- a/tests/shared/Android.bp +++ b/tests/shared/Android.bp @@ -1,7 +1,11 @@ +package { + default_team: "trendy_team_android_settings_app", +} + android_library { name: "Settings-testutils2", srcs: [ - "src/**/*.kt" + "src/**/*.kt", ], libs: [ "BiometricsSharedLib",