BinTianqi / OwnDroid

Own your Android! 使用Device owner管理你的安卓设备。Manage your device with Device owner privilege
https://owndroid.pages.dev
GNU General Public License v3.0
218 stars 11 forks source link

[Invalid / Documentation] The activation command in Guide.md seems to be incorrect #7

Closed Minoricew closed 2 months ago

Minoricew commented 2 months ago

Describe the issue

There seems to be a small issue in the Guide.md: the activation command for Device Admin / Profile Owner / Device Owner is incorrect. In Guide.md, the activation command for Device Admin / Profile Owner / Device Owner is written as adb shell dpm set-(active-admin || profile-owner || device-owner) com.binbin.androidowner/com.binbin.androidowner.MyDeviceAdminReceiver. In fact, the receiver com.binbin.androidowner.MyDeviceAdminReceiver is not registered. Users executing the wrong activation command will receive an error, which could lead to some confusion.

Expected result

The correct receiver should be com.binbin.androidowner.dpm.MyDeviceAdminReceiver (as it is displayed within the app). Therefore, the activation command should be updated to adb shell dpm set-(active-admin || profile-owner || device-owner) com.binbin.androidowner/com.binbin.androidowner.dpm.MyDeviceAdminReceiver instead.

BinTianqi commented 2 months ago

I forgot to update documentation after the device admin receiver moved to com.binbin.androidowner.dpm package

BinTianqi commented 2 months ago

你不是会说中文吗?

Why you speak English?

😂

Minoricew commented 2 months ago

草, 被发现了 () 只是感觉在 gh 上用英文发 Issue 会显得规范一些 (划