diff options
author | Paul Westbrook <pwestbro@google.com> | 2012-08-30 14:50:24 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-30 14:50:24 -0700 |
commit | 893e4c3c716679f142a5d64efb987fb8b833cd25 (patch) | |
tree | 897b69cae5010e567e6cfc3f8a70e50401a7dfe1 /photoviewer | |
parent | 5da733e05a0cc73de0d56fba8a64a1839d75a028 (diff) | |
parent | 7d9209389c0c678cbd5a82d767fb6c984fcd0d64 (diff) | |
download | android_frameworks_ex-893e4c3c716679f142a5d64efb987fb8b833cd25.tar.gz android_frameworks_ex-893e4c3c716679f142a5d64efb987fb8b833cd25.tar.bz2 android_frameworks_ex-893e4c3c716679f142a5d64efb987fb8b833cd25.zip |
am 7d920938: am 45faaf4d: am 2b4059cd: Allow action bar to be updated
* commit '7d9209389c0c678cbd5a82d767fb6c984fcd0d64':
Allow action bar to be updated
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 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 |