lp:~pitti/platform-api/crash-without-hw
- Get this branch:
- bzr branch lp:~pitti/platform-api/crash-without-hw
Branch merges
- Thomas Voß (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 227 lines (+96/-13)3 files modifiedsrc/ubuntu/hybris/bridge.h (+11/-2)
src/ubuntu/hybris/ubuntu_application_sensors_hybris.cpp (+3/-3)
tests/test_ubuntu_application_sensors.cpp (+82/-8)
Related bugs
Related blueprints
Branch information
Recent revisions
- 188. By Martin Pitt
-
Fix crash if there is no sensor backend
In environments where there are no hardware sensors/Android libs (e. g. desktop
installations) and the simulated sensor backend is not being used, the hybris
bridge does not have any actual backend to load. Consequently, when trying to
create a sensor with e. g. ua_sensors_proximity_ new, DLSYM() returns NULL and
IMPLEMENT_FUNCTION0( ) will crash trying to call the NULL pointer. Define a new macro IMPLEMENT_CTOR0 which checks if DLSYM returns NULL and
returns NULL in that case, so that the ua_sensors_*_new() functions behave as
expected.Rename APITest to SimBackendTest, as this adds a new DefaultBackendTest.
- 184. By PS Jenkins bot
-
Releasing 0.20+14.
04.20140114. 1-0ubuntu1 (revision 183 from lp:platform-api). Approved by PS Jenkins bot.
- 182. By Martin Pitt
-
Add backend for simulated sensor data.
Approved by Ricardo Mendoza, PS Jenkins bot, Thomas Voß.
- 181. By PS Jenkins bot
-
Releasing 0.19+14.
04.20140108. 1-0ubuntu1 (revision 179 from lp:platform-api). Approved by PS Jenkins bot.
- 180. By Ricardo Mendoza
-
Add function to specify initial window geometry before creation.
Approved by PS Jenkins bot, Gerry Boland.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:platform-api