Add hook for getApplicationInfo