diff options
author | Mangesh Ghiware <mghiware@google.com> | 2012-10-02 23:50:53 -0700 |
---|---|---|
committer | Mangesh Ghiware <mghiware@google.com> | 2012-10-03 00:03:59 -0700 |
commit | 66fdb16ff418043db62b240a156aac27bbc0a7ee (patch) | |
tree | 94007d4fcee9719be246838c13d2bfcd9bc40de4 /src/com/android/gallery3d/app | |
parent | 3cac6dd4d4c28ee7b0833715fae77ca5ddf4d77d (diff) | |
download | android_packages_apps_Snap-66fdb16ff418043db62b240a156aac27bbc0a7ee.tar.gz android_packages_apps_Snap-66fdb16ff418043db62b240a156aac27bbc0a7ee.tar.bz2 android_packages_apps_Snap-66fdb16ff418043db62b240a156aac27bbc0a7ee.zip |
Remove redundant handling of share action.
Bug: 7256214
Gallery PhotoPage was handling the menu item selection for the share
action, in addition to the ShareActionProvider. Removing this leftover
code from pre-ActionBar implementation.
Change-Id: I0c91b9a7c05b38758ad1b76dd657225daaab1922
Diffstat (limited to 'src/com/android/gallery3d/app')
-rw-r--r-- | src/com/android/gallery3d/app/PhotoPage.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java index 08214733a..6d05df167 100644 --- a/src/com/android/gallery3d/app/PhotoPage.java +++ b/src/com/android/gallery3d/app/PhotoPage.java @@ -930,12 +930,6 @@ public class PhotoPage extends ActivityState implements mMenuExecutor.onMenuClicked(item, confirmMsg, new ImportCompleteListener(mActivity)); return true; - case R.id.action_share: - Activity activity = mActivity; - Intent intent = createShareIntent(mCurrentPhoto.getPath()); - activity.startActivity(Intent.createChooser(intent, - activity.getString(R.string.share))); - return true; default : return false; } |