Samsung’s mobile division felt the pain of that trend, with sales declining 7% year over year.