Phone restarting after booting
Yesterday my galaxy mini droped from table to floor and battery droped out. I tried to turn it on, but it stuck on the samsung logo I was heard about combination of buttons so I clicked on the same time volume up, volume down, power and home buttons it turned on and there was writen Emergency dload mode (arm9 mode) above samsung logo. After this I tried to turn phone again ant it booted up succesfuly, but after like 1 min my phone turned off and restarted ant it keeps restarting all the time. Strange that if I plug it to charge it works normaly and don't restart.
By the way 3 days ago my phone was droped to sink with water, but I immediatly dryed it with hair dryer unfortunately gravity sensor don't works after that.
So is it possible to fix my phone from restarting?
Sorry for my bad english.