Skip to content

Commit 5562fcc

Browse files
author
yuemingw
committed
Rename ambient display user restriction in TestDPC.
Bug: 72487102 Test: manual Change-Id: Ide2dc21108996a244537300342b0e7d38c6d2b76
1 parent 080b19b commit 5562fcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/main/java/com/afwsamples/testdpc/policy/UserRestriction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public UserRestriction(String key, int titleResId) {
194194
R.string.disallow_config_screen_timeout),
195195
new UserRestriction(
196196
DISALLOW_AMBIENT_DISPLAY,
197-
R.string.disallow_config_ambient_display),
197+
R.string.disallow_ambient_display),
198198
new UserRestriction(
199199
DISALLOW_SHARE_INTO_MANAGED_PROFILE,
200200
R.string.disallow_share_into_work_profile),

app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
<string name="disallow_config_brightness">Disallow config brightness</string>
396396
<string name="disallow_config_date_time">Disallow config date time</string>
397397
<string name="disallow_config_screen_timeout">Disallow config screen timeout</string>
398-
<string name="disallow_config_ambient_display">Disallow config ambient display</string>
398+
<string name="disallow_ambient_display">Disallow ambient display</string>
399399
<string name="disallow_share_into_work_profile">Disallow sharing data into the profile</string>
400400
<string name="user_restriction_error_msg">Operation not allowed</string>
401401

0 commit comments

Comments
 (0)