Skip to content

Commit 43599b8

Browse files
author
Alex Johnston
committed
TestDPC SetAutoTimeRequired disabled in managed profile
* Set auto time required preference should be disabled if the TestDpc instance is in managed profile. Bug: 156620695 Test: Manual, verify TestDPC preference is disabled on a managed profile. Change-Id: I6ff599f84bdff3b269ef18afd65beed5577760ca
1 parent a6b4411 commit 43599b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,7 @@
672672
<com.afwsamples.testdpc.common.preference.DpcSwitchPreference
673673
android:key="set_auto_time_required"
674674
android:title="@string/set_auto_time_required"
675+
testdpc:user="notManagedProfile"
675676
testdpc:minSdkVersion="L" />
676677
<com.afwsamples.testdpc.common.preference.DpcSwitchPreference
677678
android:key="set_auto_time"

0 commit comments

Comments
 (0)