commit | 4034eaecff7e71f3de95a192c144e9c21e6f5a29 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Tue May 16 13:07:51 2017 -0700 |
committer | George Mount <mount@google.com> | Tue May 16 13:30:33 2017 -0700 |
tree | e172c10c52fac8151d4a8b05a172d5db64f2622b | |
parent | 83478acb87e57769a478e96ce72f1201f7222e86 [diff] |
Fix broken LoaderLifecycleTest#loaderIdentityTest Bug 37994415 We have a preemptive check for getLoaderManager() to ensure that the host is set before returning a value. In this test, the host was not set because the fragment was restored and on the back stack. The solution is to pop the back stack to ensure that it is added so that it comes up to the proper state before getting the loader manager. Test: ran the broken test Change-Id: Ic91cc5ca9468da22bdfef28cda1d4488b2f737f0