summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2017-07-19 10:47:48 -0700
committerGeorge Mount <mount@google.com>2017-07-19 10:51:17 -0700
commit15c21ffad983afdcd69c55ed1a2b40d2c281892d (patch)
treeec81facc53fc8e7ec6f8ed3dc733b77d21c6521f /tools/aapt2/java/JavaClassGenerator.cpp
parenta9f592fc4da56044b83a431a273a66428b191049 (diff)
Fix Fragment.onCreate() not being called in some cases.
Bug 62798751 When an application process has been killed with a retained instance fragment on its back stack, and a configuration change causes state save, the retained instance fragment was not calling onCreate() when it was popped back into existence. The cause of the problem is that the mRetaining flag was being set, and when it was supposed to go through onCreate(), it was skipped. This CL uses a new flag to judge whether or not a Fragment has called onCreate() or not. Test: I512f8c174f557ee7ed18a9b9dc5c0c3e7a5843a5 Support Lib Change: Ia66a1f474d815f657b6962097139c796f7fa198b Change-Id: Ia7878f4ac67ee8cfa05903ba6749ab9851f603ee
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions