version:
fix: update:优化获取数据
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user