android: adapt to the megadriver mechanism