core: fix android specific class handler