fix:
update:优化获取数据
This commit is contained in:
2022-09-01 20:31:45 +08:00
parent 26075a1486
commit 5875eff3c6
3 changed files with 12 additions and 4 deletions

View File

@@ -101,6 +101,7 @@ public class CacheUtils {
public boolean retValue = false;
private boolean doneFlag = false;
@Override
public void onRemoveCompleted(String packageName, boolean succeeded) throws RemoteException {
synchronized (this) {
retValue = succeeded;
@@ -119,6 +120,7 @@ public class CacheUtils {
public PackageStats stats;
private boolean doneFlag = false;
@Override
public void onGetStatsCompleted(PackageStats pStats, boolean succeeded) throws RemoteException {
synchronized (this) {
retValue = succeeded;