Settings: Add heads up blacklist options. (2/2)

Change-Id: I13d849b49bee6f516b591625c2ea2e69dff12885
Merge "Settings: Add heads up blacklist options. (2/2)" into cm-11.0
Deduplicate adapter-of-installed-packages code.

Change-Id: I454ba79eddaaff86233a2cc341f4c8bebe94729e
Merge pull request #2 from CyanogenMod/cm-11.0