Fix build error when only use genContentResolverFunc.