diff options
author | Paul Westbrook <pwestbro@google.com> | 2012-08-30 14:33:03 -0700 |
---|---|---|
committer | Paul Westbrook <pwestbro@google.com> | 2012-08-30 14:33:03 -0700 |
commit | 2b4059cdcd8014265b3ec7f06b9502cebb9e9972 (patch) | |
tree | f64f4f8410ce0456fd49bcc782dd9b14d3cdd849 /photoviewer | |
parent | a7e22413eb860a1d9ffb46221c63e29ba7330ff5 (diff) | |
download | android_frameworks_ex-2b4059cdcd8014265b3ec7f06b9502cebb9e9972.tar.gz android_frameworks_ex-2b4059cdcd8014265b3ec7f06b9502cebb9e9972.tar.bz2 android_frameworks_ex-2b4059cdcd8014265b3ec7f06b9502cebb9e9972.zip |
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
Diffstat (limited to 'photoviewer')
-rw-r--r-- | photoviewer/src/com/android/ex/photo/PhotoViewActivity.java | 6 |
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 |