File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
feature/utilcode/pkg/src/main
lib/utilcode/src/main/java/com/blankj/utilcode/util Expand file tree Collapse file tree 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.
23* ` 20/04/02 ` [ fix] PathUtils sdcard enable state is wrong; ActivityUtils finish activity wrong; Publish v1.27.1.
34* ` 20/03/31 ` [ add] Publish v1.27.0.
45* ` 20/03/30 ` [ add] BatteryUtils in subutil.
Original file line number Diff line number Diff line change 44 <!-- app -->
55 <uses-permission android : name =" android.permission.WRITE_SETTINGS" />
66 <uses-permission android : name =" android.permission.REQUEST_INSTALL_PACKAGES" />
7+ <uses-permission android : name =" android.permission.REQUEST_DELETE_PACKAGES" />
78
89 <!-- bar -->
910 <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) {
7575
7676 /**
7777 * 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>
7880 *
7981 * @param packageName The name of the package.
8082 */
Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ public static Intent getInstallAppIntent(final File file) {
8383
8484 /**
8585 * 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>
8688 *
8789 * @param pkgName The name of the package.
8890 * @return the intent of uninstall app
You can’t perform that action at this time.
0 commit comments