Fix for NPE in showAllAppsCling

Cherry-picked from: http://review.cyanogenmod.org/#/c/25490/

Change-Id: I2c3fb8edc0660249b7aab2c06ba8558c3c4a3df4