Wrong direction with accelerometer

Wrong direction with accelerometer
0.0 0



I want to know if someone has this bug,
I have a game that is played in portrait mode, the game works ok
Take a look in the video
But when I try to send to samsung, they reject my app because of this:
If you look the second video you will see that the game is going to wrong direction, it’s possible to correct that? or change the orientation screen?