android platform cleanup