Allow action bar to be updated

Allow the action bar to be updated when the photo list loader
loads data

Bug: 7082929
Change-Id: I476df1fa2ec7dcb1adfe5aed359a5126c60be179
diff --git a/src/com/android/ex/photo/PhotoViewActivity.java b/src/com/android/ex/photo/PhotoViewActivity.java
index 54feada..5231ca1 100644
--- a/src/com/android/ex/photo/PhotoViewActivity.java
+++ b/src/com/android/ex/photo/PhotoViewActivity.java
@@ -320,9 +320,15 @@
                 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