sixo / silent-update

Sample that shows how to update Android app silently without user confirmation
Apache License 2.0
30 stars 7 forks source link

Android Device Owner Not working #7

Open waulite-786 opened 1 year ago

waulite-786 commented 1 year ago

When I connect system throw adb then I can be able to make owner adb shell dpm set-device-owner eu.sisik.devowner/.DevAdminReceiver this code is working

But when I make one button and try to make owner not working why ? Runtime.getRuntime().exec("dpm set-device-owner eu.sisik.devowner/.DevAdminReceiver")

this code not working why ,

ShadowInt commented 3 months ago

У меня такая же проблема!