Skip to content

Commit 298bb00

Browse files
author
Tetiana Meronyk
committed
Update String in CTS to align with updated behaviour of managed device.
Bug: 308716907 Test: manual Change-Id: I598d621e011ec208536db46fb1e5f0a54e21ebcc
1 parent 92c4476 commit 298bb00

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

apps/CtsVerifier/res/values/strings.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4455,9 +4455,8 @@ You should be prompted to select credentials; choose the ones you just installed
44554455
<string name="test_accessibility_service_label">Test accessibility service</string>
44564456
<string name="policy_transparency_test_instructions">
44574457
1. <xliff:g id="set_step" example="Set policy by turning the switch on">%1$s</xliff:g>\n
4458-
2. Open Settings app by clicking the "Open settings" button below. Note that this will open the personal Settings app. If this device has the work settings in a different app or screen, then navigate there, ignoring the button if necessary.\n
4459-
3. Verify that performing the following action will trigger a support dialog:\n
4460-
<xliff:g id="user_action" example="Adding an account">%2$s</xliff:g>.<xliff:g id="exception_node" example="NOTE: if the device doesn't support the action...">%3$s</xliff:g>\n
4458+
2. Open Settings app by clicking the \"Open settings\" button below. Note that this will open the personal Settings app. If this device has the work settings in a different app or screen, then navigate there, ignoring the button if necessary.\n
4459+
3. Verify that clicking on \"Allow multiple users\" toggle will trigger a support dialog.\n
44614460
4. Verify that the support dialog displays the short support message set earlier.\n
44624461
</string>
44634462
<string name="optional_policy_transparency_test_note">\n\t<b>NOTE</b>: if the device doesn\'t support this action please skip this test and mark it as passing.</string>

apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/PolicyTransparencyTestActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ private void updateTestInstructions() {
172172
}
173173
((TextView) findViewById(R.id.widget_label)).setText(widgetLabel);
174174
((TextView) findViewById(R.id.test_instructions)).setText(
175-
getString(R.string.policy_transparency_test_instructions,
176-
setStep, userAction, note));
175+
getString(R.string.policy_transparency_test_instructions, setStep));
177176
updateWidget(widgetId);
178177
}
179178

0 commit comments

Comments
 (0)