commit | 68a94e5c24b85f071fb57727954510fff0224d9c | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Fri Apr 01 13:39:17 2016 -0700 |
committer | Dake Gu <dake@google.com> | Fri Apr 01 13:54:52 2016 -0700 |
tree | 9249ed154dcddc732bca4b23483909fc601de824 | |
parent | 5b20ee9a8d24e70f5e9f2d134440885241a00586 [diff] |
GuidedStep: Fix addAsRoot() restoring problem Should only add fragment when savedInstanceState is not null. Since Activity.onCreate(savedInstanceState) will restore the FragmentManager and Framgnets. This CL dumps a warning and skip creating fragment when detected duplicated fragment. Bug 27972030 Change-Id: Iaa3177b0b70877ffea25e49d44f5be778a734a55