summaryrefslogtreecommitdiffstats
path: root/photoviewer
diff options
context:
space:
mode:
Diffstat (limited to 'photoviewer')
-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 54feada..5231ca1 100644
--- a/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
+++ b/photoviewer/src/com/android/ex/photo/PhotoViewActivity.java
@@ -320,9 +320,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