Gallery2: Fix fail to share in MovieActivity after use camera
When using camera, it will call PhotoPage which creates its share option menu and clear the shared provider's intent which causes the problem. The option menu uses ShareActionProvider to handle operation, and it saves the share intent in ActivityChooserModel. The PhotoPage onCreateActionBar method will create the menu which sets the share intent to null. So when click the share button, there is no responding. Recreate the provider's intent when resume to MovieActivity. CRs-Fixed: 513809 Change-Id: I1f4ff891b3909009b716d243147de886ae98dd9e
Loading
Please register or sign in to comment