Fixed NPE when pause is complete on a dead app. am: e852400e1b
am: 699f40e307

Change-Id: I28877fe4c26c33a853c766f660bfc3dbc4a235a1