OSDN Git Service

JPEGヘッダの探し方(のデフォルト方式)を変更。
[gokigen/A01d.git] / app / src / main / java / net / osdn / gokigen / a01d / camera / ptpip / wrapper / command / PtpIpCommandPublisherLegacy.java
index ca5959e..ae5affa 100644 (file)
@@ -254,6 +254,14 @@ public class PtpIpCommandPublisherLegacy implements IPtpIpCommandPublisher, IPtp
         return (commandQueue.size());
     }
 
+    @Override
+    public boolean flushQueue()
+    {
+        Log.v(TAG, "  flushHoldQueue() : CLEAR QUEUE : " + commandQueue.size());
+        commandQueue.clear();
+        System.gc();
+        return (true);
+    }
 
     @Override
     public int isExistCommandMessageQueue(int id)