Detect unused permissions in an Android application.