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
=== modified file 'src/ubuntu/application/common/application/sensors/service.cpp'
--- src/ubuntu/application/common/application/sensors/service.cpp 2015-09-29 12:21:55 +0000
+++ src/ubuntu/application/common/application/sensors/service.cpp 2016-09-06 15:53:57 +0000
@@ -81,7 +81,7 @@
8181
82 try82 try
83 {83 {
84 s->session->invoke_method_synchronously<uas::USensorD::Haptic::Vibrate, void>(duration);84 s->session->invoke_method_asynchronously<uas::USensorD::Haptic::Vibrate, void>(duration);
85 }85 }
86 catch (const std::runtime_error& e)86 catch (const std::runtime_error& e)
87 {87 {
@@ -110,7 +110,7 @@
110110
111 try111 try
112 {112 {
113 s->session->invoke_method_synchronously<uas::USensorD::Haptic::VibratePattern, void>(p_arg, repeat);113 s->session->invoke_method_asynchronously<uas::USensorD::Haptic::VibratePattern, void>(p_arg, repeat);
114 }114 }
115 catch (const std::runtime_error& e)115 catch (const std::runtime_error& e)
116 {116 {

Subscribers

People subscribed via source and target branches