summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--photoviewer/src/com/android/ex/photo/PhotoViewActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
index b060f28..f783420 100644
--- a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
+++ b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
@@ -331,9 +331,15 @@ public class PhotoViewActivity extends Activity implements
mViewPager.setCurrentItem(itemIndex, false);
setViewActivated();
}
+ // Update the any action items
+ updateActionItems();
}
}
+ protected void updateActionItems() {
+ // Do nothing, but allow extending classes to do work
+ }
+
private synchronized void notifyCursorListeners(Cursor data) {
// tell all of the objects listening for cursor changes
// that the cursor has changed