Add WearSafetySource (Without Listener)

Bug: 389841524
Test: TreeHugger
Test: manual
Test: atest SafetySourceBroadcastReceiverTest
Test: atest LockScreenSafetySourceTest
Test: atest ActiveUnlockStatusUtilsTest
Test: atest WearSafetySourceTest
Flag: com.android.settings.flags.biometrics_onboarding_education
Change-Id: I7f4b41bf33d1e0fb7988f756a466e4d80bcec25e
This commit is contained in:
Chun Zhang
2025-02-03 18:16:23 +00:00
parent f1d0ce612b
commit f7a128496c
13 changed files with 562 additions and 28 deletions

View File

@@ -243,4 +243,11 @@ public class ActiveUnlockStatusUtilsTest {
.isEqualTo(mApplicationContext.getString(
R.string.biometric_settings_use_watch_for));
}
@Test
public void getTitleForActiveUnlockOnly_returnsTile() {
assertThat(mActiveUnlockStatusUtils.getTitleForActiveUnlockOnly())
.isEqualTo(mApplicationContext.getString(
R.string.security_settings_activeunlock));
}
}