In some instances, it may be desirable for the passenger to hold her mobile device in a position in which the screen is facing the driver. One example would be when the passenger holds her mobile device against her ear, in which case the screen could still be “facing” the driver, but would not in fact be viewable by the driver. This scenario can be filtered out as an exception—using additional data available from the mobile device, such as screen proximity sensor, screen on state, or the current call status.
The gyroscope and magnetometer of the mobile device can also provide useful information to help identify the orientation of the mobile device in the vehicle since many applications can be viewed in either a portrait screen orientation or in a landscape screen orientation.
As stated previously in conjunction with