Add null check of getActivity() in initializeSubscriptions. am: b1eeb07ce5
am: 48a41fccf2  -s ours

Change-Id: Icc315f66df0b9fa65c9e151fd32689a45d4ec296