~mir-team/qtmir/trunk

Viewing all changes in revision 456.

  • Committer: CI Train Bot
  • Author(s): Gerry Boland
  • Date: 2016-03-10 09:29:12 UTC
  • mfrom: (440.3.3 fix-orientation-after-unplug)
  • Revision ID: ci-train-bot@canonical.com-20160310092912-n2te84cy3vfwphl7
Screen: only enable orientation sensor for internal display.

It's not great, but works around orientation sensor not working after device unplug from monitor. I believe this is because QtUbuntu-Sensors and Platform-api are not dealing properly with multiple accessors of the sensors. Instead only the last accessor gets correct state, and the earlier ones get nothing. Fixes: #1545286
Approved by: Unity8 CI Bot, Michael Zanetti

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: