commit | fe0ad1c290927ab37f338e7f67ad28780b533ab4 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Thu Mar 30 12:34:42 2017 -0700 |
committer | George Mount <mount@google.com> | Thu Mar 30 13:03:59 2017 -0700 |
tree | 36178e86dc662461462089f935497bf9e0733b2c | |
parent | d584a5e65bcfab0d96c85f7cdac5c8eda47ad051 [diff] |
Allow committing allowing state loss on detached FragmentManager. Bug 36702993 Instead of throwing an exception during commitAllowStateLoss() or commitNowAllowingStateLoss(), silently drop the transaction when the FragmentManager is detached. Test: I7093457c2b4936b95ab086dbe947571f0b525f63 Change-Id: I77641b69f2573fc895a27ec9da63c2d2ab6d7a4e