[PATCH openEuler-5.10 30/38] ANDROID: simplify vendor hooks for non-GKI builds