Samsung's loss is a gain for Apple and Google