From 684970d72ade74d8942b3af538cc7339b8404aa5 Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 18 Aug 2022 13:51:42 +0200 Subject: [PATCH] sm6150-common: gps: Fix usage of or operator on booleans Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963 --- gps/android/2.1/location_api/GnssAPIClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps/android/2.1/location_api/GnssAPIClient.cpp b/gps/android/2.1/location_api/GnssAPIClient.cpp index 07f617d..e1dc0d4 100644 --- a/gps/android/2.1/location_api/GnssAPIClient.cpp +++ b/gps/android/2.1/location_api/GnssAPIClient.cpp @@ -648,7 +648,7 @@ void GnssAPIClient::onGnssNmeaCb(GnssNmeaNotification gnssNmeaNotification) auto gnssCbIface_2_1(mGnssCbIface_2_1); mMutex.unlock(); - if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) { + if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr || gnssCbIface_2_1 != nullptr) { const std::string s(gnssNmeaNotification.nmea); std::stringstream ss(s); std::string each;