Fixing wrong check being used for application status
am: f2db25398a

Change-Id: Id80a6fcc30023bf9ebea3c73e34af2d4bf186300