Skip to content

Commit 7e04f71

Browse files
author
Rubin Xu
committed
Correct testdpc:admin usage
Fix a crash due to bug introduced by a previous CL to make TestDPC delegation-aware. Test: manual, TestDPC can start as DO Bug: 112982695 Change-Id: I452faac9fdcc061d5281a6d260a6dd2cf62a95c6
1 parent e2d3ec4 commit 7e04f71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/res/xml/device_policy_header.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<com.afwsamples.testdpc.common.preference.DpcPreference
170170
android:key="generic_delegation"
171171
android:title="@string/generic_delegation"
172-
testdpc:admin="none"
172+
testdpc:admin="any"
173173
testdpc:minSdkVersion="O" />
174174
</PreferenceCategory>
175175

@@ -236,7 +236,7 @@
236236
android:key="test_key_usability"
237237
android:title="@string/test_key_usage"
238238
testdpc:minSdkVersion="L"
239-
testdpc:admin="none" />
239+
testdpc:admin="any" />
240240
<com.afwsamples.testdpc.common.preference.DpcPreference
241241
android:key="install_ca_certificate"
242242
android:title="@string/install_ca_certificate"

0 commit comments

Comments
 (0)