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