We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 767067a commit c9e7e23Copy full SHA for c9e7e23
app/src/main/java/com/afwsamples/testdpc/policy/PolicyManagementFragment.java
@@ -1712,7 +1712,7 @@ private void showCreateAndManageUserPrompt() {
1712
R.id.make_user_ephemeral_checkbox);
1713
final CheckBox leaveAllSystemAppsEnabled = (CheckBox) dialogView.findViewById(
1714
R.id.leave_all_system_apps_enabled_checkbox);
1715
- if (!BuildCompat.isAtLeastP()) {
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) {
1716
makeUserEphemeralCheckBox.setEnabled(false);
1717
leaveAllSystemAppsEnabled.setEnabled(false);
1718
}
0 commit comments