Merge pull request #479 from maskaravivek/stateloss

Fixes #435: Allowing state loss commit for fragment transaction
This commit is contained in:
Josephine Lim 2017-04-03 01:14:43 +10:00 committed by GitHub
commit 6d080889ff

View file

@ -204,7 +204,7 @@ public class ShareActivity
this.getSupportFragmentManager() this.getSupportFragmentManager()
.beginTransaction() .beginTransaction()
.add(R.id.single_upload_fragment_container, shareView, "shareView") .add(R.id.single_upload_fragment_container, shareView, "shareView")
.commit(); .commitAllowingStateLoss();
} }
uploadController.prepareService(); uploadController.prepareService();
} }