From cb9e3c77e9c5acce4b6490c7c0928fe1daa427a2 Mon Sep 17 00:00:00 2001 From: Syuugo Date: Sun, 20 Apr 2025 02:14:08 +0900 Subject: [PATCH 1/2] Fix NoSuchMethodError with Q and below --- src/main/res/xml/device_policy_header.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/res/xml/device_policy_header.xml b/src/main/res/xml/device_policy_header.xml index 96e294b8..dfbc0b10 100644 --- a/src/main/res/xml/device_policy_header.xml +++ b/src/main/res/xml/device_policy_header.xml @@ -346,7 +346,7 @@ android:key="enable_wifi_config_lockdown" android:title="@string/enable_wifi_config_lockdown" testdpc:admin="deviceOwner|orgOwnedProfileOwner" - testdpc:minSdkVersion="M" /> + testdpc:minSdkVersion="R" /> Date: Sun, 20 Apr 2025 16:51:32 +0900 Subject: [PATCH 2/2] Fix SecurityException with Device owner --- src/main/res/xml/device_policy_header.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/res/xml/device_policy_header.xml b/src/main/res/xml/device_policy_header.xml index dfbc0b10..2862985f 100644 --- a/src/main/res/xml/device_policy_header.xml +++ b/src/main/res/xml/device_policy_header.xml @@ -100,6 +100,7 @@