commit | b1eeb07ce5146430af43338e2bee3fa4a4797d71 | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Tue Jun 13 14:11:07 2017 -0700 |
committer | Malcolm Chen <refuhoo@google.com> | Mon Jun 26 11:55:41 2017 -0700 |
tree | 778a0aaa12dcec092379410ab3a98a94b976b2fa | |
parent | c88ed7dc626480eef254748d2ba5eac09e8a576d [diff] |
Add null check of getActivity() in initializeSubscriptions. In initializeSubscriptions(), the fragment may be detached from the activity. Without the null check it may end up with crash. Bug: 62522732 Test: build Merged-In: I9d208f6f2bc8394e76ae50495397f0318bd7ceb8 Change-Id: I9d208f6f2bc8394e76ae50495397f0318bd7ceb8