private static IPackageManager getIPackageManager(final Context context) {
        return new IPackageManager(context.getPackageManager());
    }
Runs the next task when all packages have been deleted or shuts down the activity if package
deletion fails.
engine/src/main/java/com/oasisfeng/island/provisioning/task/DeleteNonRequiredAppsTask.java