提交 a0b00a19 编写于 作者: B Blankj

see 04/04 log

上级 389efc60
* `20/04/03` [fix] UtilsActivityLifecycleImpl#HashMap#remove IllegalStateException Bug. Publish v1.27.2.
* `20/04/04` [fix] ShadowUtils bug running on lower version devices. Publish v1.27.2.
* `20/04/03` [fix] UtilsActivityLifecycleImpl#HashMap#remove IllegalStateException bug.
* `20/04/02` [fix] PathUtils sdcard enable state is wrong; ActivityUtils finish activity wrong; Publish v1.27.1.
* `20/03/31` [add] Publish v1.27.0.
* `20/03/30` [add] BatteryUtils in subutil.
......
......@@ -4,6 +4,7 @@
<!-- app -->
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
<!-- bar -->
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
......
......@@ -75,6 +75,8 @@ public final class AppUtils {
/**
* Uninstall the app.
* <p>Target APIs greater than 25 must hold
* Must hold {@code <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />}</p>
*
* @param packageName The name of the package.
*/
......
......@@ -83,6 +83,8 @@ public final class IntentUtils {
/**
* Return the intent of uninstall app.
* <p>Target APIs greater than 25 must hold
* Must hold {@code <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />}</p>
*
* @param pkgName The name of the package.
* @return the intent of uninstall app
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册