Skip to content

Commit a799db2

Browse files
committed
see 02/25 log
1 parent c66a144 commit a799db2

File tree

13 files changed

+89
-823
lines changed

13 files changed

+89
-823
lines changed

utilcode/lib/src/main/java/com/blankj/utilcode/constant/RegexConstants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public final class RegexConstants {
1818
* Regex of exact mobile.
1919
* <p>china mobile: 134(0-8), 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 178, 182, 183, 184, 187, 188, 198</p>
2020
* <p>china unicom: 130, 131, 132, 145, 155, 156, 166, 171, 175, 176, 185, 186</p>
21-
* <p>china telecom: 133, 153, 173, 177, 180, 181, 189, 199</p>
21+
* <p>china telecom: 133, 153, 173, 177, 180, 181, 189, 199, 191</p>
2222
* <p>global star: 1349</p>
2323
* <p>virtual operator: 170</p>
2424
*/

utilcode/lib/src/main/java/com/blankj/utilcode/util/AppUtils.java

+1
Original file line numberDiff line numberDiff line change
@@ -787,6 +787,7 @@ public static AppUtils.AppInfo getApkInfo(final String apkFilePath) {
787787
PackageInfo pi = pm.getPackageArchiveInfo(apkFilePath, 0);
788788
ApplicationInfo appInfo = pi.applicationInfo;
789789
appInfo.sourceDir = apkFilePath;
790+
appInfo.publicSourceDir = apkFilePath;
790791
return getBean(pm, pi);
791792
}
792793

utilcode/lib/src/main/java/com/blankj/utilcode/util/SnackbarUtils.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,9 @@ public SnackbarUtils setBottomMargin(@IntRange(from = 1) final int bottomMargin)
185185
/**
186186
* Show the snackbar.
187187
*/
188-
public void show() {
188+
public Snackbar show() {
189189
final View view = this.view;
190-
if (view == null) return;
190+
if (view == null) return null;
191191
if (messageColor != COLOR_DEFAULT) {
192192
SpannableString spannableString = new SpannableString(message);
193193
ForegroundColorSpan colorSpan = new ForegroundColorSpan(messageColor);
@@ -217,6 +217,7 @@ public void show() {
217217
snackbar.setAction(actionText, actionListener);
218218
}
219219
snackbar.show();
220+
return snackbar;
220221
}
221222

222223
/**

utilcode/lib/src/main/java/com/blankj/utilcode/util/http/Chain.java

-4
This file was deleted.

utilcode/lib/src/main/java/com/blankj/utilcode/util/http/ExecutorFactory.java

-47
This file was deleted.

utilcode/lib/src/main/java/com/blankj/utilcode/util/http/HttpUtils.java

-286
This file was deleted.

utilcode/lib/src/main/java/com/blankj/utilcode/util/http/Interceptor.java

-8
This file was deleted.

0 commit comments

Comments
 (0)