Action Launcher code modded, still not working

Action Launcher uses "Intent intent =
getPackageManager().getLaunchIntentForPackage("com.chrislacy.actionlauncher.pro");"
but for the theme fragment, using this causes FC. getPackageManager
needs to be replaced with something. Also wallpapers do not launcher, if
using the norm "ACTION_MAIN" it launcher settings.