Skip to content

Commit 67cb45a

Browse files
author
Android Build Coastguard Worker
committed
Snap for 11151687 from 9459237 to udc-d2-release
Change-Id: Icad4c2b63bd729efb9ff3e4db596fafb53e2352d
2 parents a318a48 + 9459237 commit 67cb45a

15 files changed

Lines changed: 164 additions & 607 deletions

File tree

apps/CtsVerifier/res/values/strings.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4455,16 +4455,17 @@ 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 clicking on \"Allow multiple users\" toggle will trigger a support dialog.\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
44604461
4. Verify that the support dialog displays the short support message set earlier.\n
44614462
</string>
44624463
<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>
44634464
<string name="user_restriction_set_step">
44644465
Set \'%s\' user restriction by turning on the switch below.
44654466
</string>
44664467
<string name="disallow_add_user">Disallow add user</string>
4467-
<string name="disallow_add_user_action">Accessing the multiple users settings page, or if the device allows access to the page, then attempting to add a new user </string>
4468+
<string name="disallow_add_user_action">Accessing the multiple users settings page, or if the device allows access to the page, then attempting to enable the feature </string>
44684469
<string name="disallow_adjust_volume">Disallow adjust volume</string>
44694470
<string name="disallow_adjust_volume_action">Adjusting the volume\n
44704471
NOTE: If the device does not support volume adjustment in Settings app please skip this test and mark it as passing.\n</string>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ 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, setStep));
175+
getString(R.string.policy_transparency_test_instructions,
176+
setStep, userAction, note));
176177
updateWidget(widgetId);
177178
}
178179

hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/QuietModeTest.java

Lines changed: 0 additions & 305 deletions
This file was deleted.

0 commit comments

Comments
 (0)