当我在设置的android小部件上做了一些工作时,我收到了这个错误:
java.lang.SecurityException:用户10097和当前进程都没有android.permission.DEVICE_POWER.
我已将小部件apk推送到系统/应用程序.
您的第三方应用程序无法访问DEVICE_POWER权限.
public static final String DEVICE_POWER Added in API level 1 Allows low-level access to power management. Not for use by third-party applications. Constant Value: "android.permission.DEVICE_POWER"