commit | bfa940914d7f1a47f36b2d111ea25e2a85737be6 | [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:50:24 2017 -0700 |
tree | c2f9a3a4728e678e6b0f04429bfbe78b3ab6e3dd | |
parent | f9745677779ce9f26c7497f978abbd097c78508e [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 Change-Id: I9d208f6f2bc8394e76ae50495397f0318bd7ceb8