From 7a396992b19b440c236e3a8f483698fd0abee5e4 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 17 Jun 2015 14:37:27 +0200 Subject: Remove BlackBerry as supported platform from QtSensors [ChangeLog][QtSensors][Platform Specific Changes] Removed support for BlackBerry 10 from QtSensors. Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341 Reviewed-by: Rafael Roquetto Reviewed-by: Lars Knoll --- src/sensors/doc/src/compatmap.qdoc | 19 ------------------- src/sensors/qaltimeter.cpp | 6 ------ src/sensors/qsensor.cpp | 7 +------ 3 files changed, 1 insertion(+), 31 deletions(-) (limited to 'src/sensors') diff --git a/src/sensors/doc/src/compatmap.qdoc b/src/sensors/doc/src/compatmap.qdoc index 74fff2a5..1b9bfa6c 100644 --- a/src/sensors/doc/src/compatmap.qdoc +++ b/src/sensors/doc/src/compatmap.qdoc @@ -53,7 +53,6 @@ Feature - Blackberry Android Linux iOS @@ -69,13 +68,11 @@ - Altimeter - @@ -86,7 +83,6 @@ Ambient Light Sensor - @@ -97,7 +93,6 @@ Ambient Temperature Sensor - @@ -108,7 +103,6 @@ Compass - @@ -119,7 +113,6 @@ Distance - @@ -131,7 +124,6 @@ Gyroscope - @@ -141,7 +133,6 @@ Holster Sensor - @@ -152,7 +143,6 @@ IR Proximity Sensor - @@ -164,7 +154,6 @@ Light Sensor - @@ -175,7 +164,6 @@ Magnetometer - @@ -185,7 +173,6 @@ Orientation Sensor - @@ -197,7 +184,6 @@ Pressure Sensor - @@ -208,7 +194,6 @@ Proximity Sensor - @@ -219,7 +204,6 @@ Rotation Sensor - @@ -236,7 +220,6 @@ - Tilt Sensor @@ -245,7 +228,6 @@ - @@ -257,7 +239,6 @@ - diff --git a/src/sensors/qaltimeter.cpp b/src/sensors/qaltimeter.cpp index b1943d8d..c88ab843 100644 --- a/src/sensors/qaltimeter.cpp +++ b/src/sensors/qaltimeter.cpp @@ -46,12 +46,6 @@ IMPLEMENT_READING(QAltimeterReading) \brief The QAltimeterReading class holds readings from the altimeter sensor. The altitude is reported in meters relative to mean sea level. - - On BlackBerry, the altimeter uses a combination of pressure and location to determine - the altitude, as using pressure alone would yield to inaccurate results due to changes - in air pressure caused by the weather. The location information is used to compensate for - the weather. This requires that the user has enabled location services in the global - settings. */ /*! diff --git a/src/sensors/qsensor.cpp b/src/sensors/qsensor.cpp index 82eae194..b1916040 100644 --- a/src/sensors/qsensor.cpp +++ b/src/sensors/qsensor.cpp @@ -1114,17 +1114,12 @@ void QSensor::setEfficientBufferSize(int efficientBufferSize) When the sensor is started with buffering option, values are collected from that moment onwards. There is no pre-existing buffer that can be utilized. - Some backends like Blackberry only support enabling or disabling the buffer and do not give + Some backends only support enabling or disabling the buffer and do not give control over the size. In this case, the maxBufferSize and efficientBufferSize properties might not be set at all, even though buffering is supported. Setting the bufferSize property to any value greater than 1 will enable buffering. After the sensor has been started, the bufferSize property will be set to the actual value by the backend. - On Blackberry, buffering will not wait until the buffer is full to deliver new - readings. Instead, the buffer will be used if the backend does not manage to retrieve the readings - in time, for example when the event loop is blocked for too long. Without a buffer, these readings - would simply be dropped. - \sa QSensor::maxBufferSize, QSensor::efficientBufferSize */ -- cgit v1.2.3