xuxiuxi
2017-07-23 ec30db486f424d304dc507e0077182404b65f9e6
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/util/UnknownSurveillanceQueryItemUtil.java
@@ -16,7 +16,7 @@
        return instance;
    }
    List<SurveillanceQueryItem> allItems = new ArrayList<>();
    static List<SurveillanceQueryItem> allItems = new ArrayList<>();
    public void addItems(List<SurveillanceQueryItem> unknownItems) {
        allItems.addAll(unknownItems);
@@ -24,6 +24,7 @@
    }
    public void removeTimeoutItemAndShow() {
        synchronized (this) {
        List itemsToRemove = new ArrayList();
        for (SurveillanceQueryItem item : allItems) {
            if (item.getRegisterOrCheckIn() == CommonVariables.Surveillance.OFFLINE_SURVEILLANCE_ITEM_TYPE) {
@@ -36,6 +37,7 @@
            }
        }
        allItems.removeAll(itemsToRemove);
        }
        MainActivity.getInstance().runOnUiThread(new Runnable() {
            @Override
            public void run() {