File tree 4 files changed +7
-1
lines changed
feature/utilcode/pkg/src/main
lib/utilcode/src/main/java/com/blankj/utilcode/util
4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
- * ` 20/04/03 ` [ fix] UtilsActivityLifecycleImpl#HashMap#remove IllegalStateException Bug. Publish v1.27.2.
1
+ * ` 20/04/04 ` [ fix] ShadowUtils bug running on lower version devices. Publish v1.27.2.
2
+ * ` 20/04/03 ` [ fix] UtilsActivityLifecycleImpl#HashMap#remove IllegalStateException bug.
2
3
* ` 20/04/02 ` [ fix] PathUtils sdcard enable state is wrong; ActivityUtils finish activity wrong; Publish v1.27.1.
3
4
* ` 20/03/31 ` [ add] Publish v1.27.0.
4
5
* ` 20/03/30 ` [ add] BatteryUtils in subutil.
Original file line number Diff line number Diff line change 4
4
<!-- app -->
5
5
<uses-permission android : name =" android.permission.WRITE_SETTINGS" />
6
6
<uses-permission android : name =" android.permission.REQUEST_INSTALL_PACKAGES" />
7
+ <uses-permission android : name =" android.permission.REQUEST_DELETE_PACKAGES" />
7
8
8
9
<!-- bar -->
9
10
<uses-permission android : name =" android.permission.EXPAND_STATUS_BAR" />
Original file line number Diff line number Diff line change @@ -75,6 +75,8 @@ public static void installApp(final File file) {
75
75
76
76
/**
77
77
* Uninstall the app.
78
+ * <p>Target APIs greater than 25 must hold
79
+ * Must hold {@code <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />}</p>
78
80
*
79
81
* @param packageName The name of the package.
80
82
*/
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ public static Intent getInstallAppIntent(final File file) {
83
83
84
84
/**
85
85
* Return the intent of uninstall app.
86
+ * <p>Target APIs greater than 25 must hold
87
+ * Must hold {@code <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />}</p>
86
88
*
87
89
* @param pkgName The name of the package.
88
90
* @return the intent of uninstall app
You can’t perform that action at this time.
0 commit comments