summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/editors
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-06-27 14:41:58 -0700
committernicolasroard <nicolasroard@google.com>2013-06-27 15:26:51 -0700
commit39f4ad6d7e663778d74a47c8b25768c4f221fbdc (patch)
tree2bf08c5779e234202265e8e0a15977fabc6ac0a7 /src/com/android/gallery3d/filtershow/editors
parentdfaf4c5b5b901dbbd4904fd86995b71f4acfd47c (diff)
downloadandroid_packages_apps_Snap-39f4ad6d7e663778d74a47c8b25768c4f221fbdc.tar.gz
android_packages_apps_Snap-39f4ad6d7e663778d74a47c8b25768c4f221fbdc.tar.bz2
android_packages_apps_Snap-39f4ad6d7e663778d74a47c8b25768c4f221fbdc.zip
Refactor HistoryAdapter
- Remove the adapter part - Rename into HistoryManager Change-Id: I58de5661770f8796882ff4a633aec700bd8bc1a5
Diffstat (limited to 'src/com/android/gallery3d/filtershow/editors')
-rw-r--r--src/com/android/gallery3d/filtershow/editors/EditorPanel.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/filtershow/editors/EditorPanel.java b/src/com/android/gallery3d/filtershow/editors/EditorPanel.java
index 82e8aa220..40dfccd02 100644
--- a/src/com/android/gallery3d/filtershow/editors/EditorPanel.java
+++ b/src/com/android/gallery3d/filtershow/editors/EditorPanel.java
@@ -28,7 +28,7 @@ import android.widget.ImageButton;
import android.widget.LinearLayout;
import com.android.gallery3d.R;
import com.android.gallery3d.filtershow.FilterShowActivity;
-import com.android.gallery3d.filtershow.history.HistoryAdapter;
+import com.android.gallery3d.filtershow.history.HistoryManager;
import com.android.gallery3d.filtershow.category.MainPanel;
import com.android.gallery3d.filtershow.imageshow.MasterImage;
import com.android.gallery3d.filtershow.state.StatePanel;
@@ -54,7 +54,7 @@ public class EditorPanel extends Fragment {
public void cancelCurrentFilter() {
MasterImage masterImage = MasterImage.getImage();
- HistoryAdapter adapter = masterImage.getHistory();
+ HistoryManager adapter = masterImage.getHistory();
int position = adapter.undo();
masterImage.onHistoryItemClick(position);