[PATCH openEuler-23.09 5/8] ANDROID: simplify vendor hooks for non-GKI builds