Skip to content

Commit 7355abd

Browse files
committed
Fix set organization name is not working in TestDPC
Change-Id: Iaeacc5129624083c84c3123af15d3128a70b77e4
1 parent 8759648 commit 7355abd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
484484
SET_AUTO_TIME_REQUIRED_KEY);
485485
mSetAutoTimeRequiredPreference.setOnPreferenceChangeListener(this);
486486

487+
mSetDeviceOrganizationNamePreference =
488+
(EditTextPreference) findPreference(SET_DEVICE_ORGANIZATION_NAME_KEY);
489+
mSetDeviceOrganizationNamePreference.setOnPreferenceChangeListener(this);
490+
487491
constrainSpecialCasePreferences();
488492

489493
maybeDisableLockTaskPreferences();

0 commit comments

Comments
 (0)