Make sure that we send the DeviceOrientation error event only once

Change-Id: Iff095ad4d282635c567b0c85a286056e23ca38e3
1 file changed