Used the gps_open() return value as condition instead of checking m_gpsdata
Checking the return value of gps_open() as condition instead of checking m_gpsdata for GPSD_API_MAJOR_VERSION >=5, there should be prevent crash occurred when no gpsd running. BUG: 277036 REVIEW: 103035
parent
e407e5cc
Please register or sign in to comment