OSDN Git Service

Fix build. Missing dummy class for Gallery2.
authorGeorge Mount <mount@google.com>
Thu, 4 Oct 2012 22:04:23 +0000 (15:04 -0700)
committerGeorge Mount <mount@google.com>
Thu, 4 Oct 2012 22:04:23 +0000 (15:04 -0700)
 Bug 7259843

Change-Id: I65e6ea64fa996798146efd20cafae78b7f4a0614

src_pd/com/android/gallery3d/app/StitchingProgressManager.java [new file with mode: 0644]

diff --git a/src_pd/com/android/gallery3d/app/StitchingProgressManager.java b/src_pd/com/android/gallery3d/app/StitchingProgressManager.java
new file mode 100644 (file)
index 0000000..d0e2a69
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2012 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.gallery3d.app;
+
+import com.android.gallery3d.data.MediaItem;
+
+import java.util.ArrayList;
+
+public class StitchingProgressManager {
+    public void addChangeListener(StitchingChangeListener l) {
+    }
+
+    public void removeChangeListener(StitchingChangeListener l) {
+    }
+
+    public int getItemCount() {
+        return 0;
+    }
+
+    public MediaItem getItem(int i) {
+        return null;
+    }
+
+    public ArrayList<MediaItem> getAllItems() {
+        return null;
+    }
+
+    public int getProgress(String filePath) {
+        return 100;
+    }
+}