commit | 9268ce1264c6c2919b3feb1e26eef13ded3c9ab4 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Fri Feb 17 14:53:52 2017 -0800 |
committer | George Mount <mount@google.com> | Tue Feb 21 07:54:25 2017 -0800 |
tree | a9a87664d24470507c2cd8300ebbeea018ca913b | |
parent | d06863231b0115df35b986080d5b6031e60b424d [diff] |
Ensure transactions cannot be run during controller state change Bug 35349893 When the FragmentManager is being brought up or down, the state of fragments is changed. Any fragment using commitNow() during the state change was being allowed through instead of throwing. This CL locks out reentrant fragment transctions during FragmentManager state changes. Test: ran fragment tests Change-Id: Iead0e44cfc6515b044da1d1ebcad045d0a24b162