disable the comming back of device admin
authorGuillaume Castagnino <casta@xwing.info>
Fri, 26 Apr 2019 07:17:33 +0000 (09:17 +0200)
committerGuillaume Castagnino <casta@xwing.info>
Fri, 26 Apr 2019 07:17:33 +0000 (09:17 +0200)
dist-std/cm-data/system-setup-runonce.sh

index 8f55d495d512cf689571443ece43795d2cbbf0c4..cf3e4d35f09362a250bd4be61b1b23e25eb2ebf6 100755 (executable)
@@ -14,3 +14,5 @@ settings put global ntp_server 127.0.0.1
 echo "Fix date format"
 settings put system date_format dd-MM-yyyy
 
+echo "disable google device admin for good"
+pm disable com.google.android.gms/.mdm.receivers.MdmDeviceAdminReceiver