If the handle does not exist, it should return false

Test: size_type erase(const key_type& key)  If the key does not exist, the return value is 0
Change-Id: Idf3bf9be6d99c748b634d08fb3edc5aa02c48240
Signed-off-by: xuchengchen <xuchengchen@xiaomi.com>
diff --git a/services/sensorservice/SensorEventConnection.cpp b/services/sensorservice/SensorEventConnection.cpp
index dc86577..d5bfadb 100644
--- a/services/sensorservice/SensorEventConnection.cpp
+++ b/services/sensorservice/SensorEventConnection.cpp
@@ -173,7 +173,7 @@
 
 bool SensorService::SensorEventConnection::removeSensor(int32_t handle) {
     Mutex::Autolock _l(mConnectionLock);
-    if (mSensorInfo.erase(handle) >= 0) {
+    if (mSensorInfo.erase(handle) > 0) {
         return true;
     }
     return false;