Correctly call mOpenHelperCallbacks.onOpen when foreign keys are disabled.