Use primary profile lock settings string in Safety Source, not work profile

Test: atest CtsSafetyCenterTestCases
Bug: 215518847
Change-Id: I1c7ddbeb05be81fa902fcb4e42868ddd770d2dc0
This commit is contained in:
Marie Matheson
2022-02-22 20:14:50 +00:00
parent 67c0b83f7f
commit d4822fe6b4
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ public class LockScreenSafetySourceTest {
assertThat(safetySourceStatus.getTitle().toString())
.isEqualTo(ResourcesUtils.getResourcesString(
mApplicationContext,
"unlock_set_unlock_launch_picker_title_profile"));
"unlock_set_unlock_launch_picker_title"));
assertThat(safetySourceStatus.getSummary().toString())
.isEqualTo(SUMMARY);
assertThat(safetySourceStatus.getPendingIntent().getIntent()).isNotNull();