Samsung's pain is Apple's gain