Merge lp:~thomas-voss/platform-api/fix-1620553 into lp:platform-api

Proposed by Thomas Voß
Status: Needs review
Proposed branch: lp:~thomas-voss/platform-api/fix-1620553
Merge into: lp:platform-api
Diff against target: 21 lines (+2/-2)
1 file modified
src/ubuntu/application/common/application/sensors/service.cpp (+2/-2)
To merge this branch: bzr merge lp:~thomas-voss/platform-api/fix-1620553
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+305019@code.launchpad.net

Commit message

Invoke haptics asynchronously.

Description of the change

Invoke haptics asynchronously.

To post a comment you must log in.

Unmerged revisions

332. By Thomas Voß

Invoke haptics asynchronously.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/ubuntu/application/common/application/sensors/service.cpp'
2--- src/ubuntu/application/common/application/sensors/service.cpp 2015-09-29 12:21:55 +0000
3+++ src/ubuntu/application/common/application/sensors/service.cpp 2016-09-06 15:53:57 +0000
4@@ -81,7 +81,7 @@
5
6 try
7 {
8- s->session->invoke_method_synchronously<uas::USensorD::Haptic::Vibrate, void>(duration);
9+ s->session->invoke_method_asynchronously<uas::USensorD::Haptic::Vibrate, void>(duration);
10 }
11 catch (const std::runtime_error& e)
12 {
13@@ -110,7 +110,7 @@
14
15 try
16 {
17- s->session->invoke_method_synchronously<uas::USensorD::Haptic::VibratePattern, void>(p_arg, repeat);
18+ s->session->invoke_method_asynchronously<uas::USensorD::Haptic::VibratePattern, void>(p_arg, repeat);
19 }
20 catch (const std::runtime_error& e)
21 {

Subscribers

People subscribed via source and target branches