​Samsung continues to be the most popular smartphone manufacturer in the world, according to Gartner, but is losing ground to Chinese manufacturers.