Android: get rid of superfluous variables.