commit | 9a974be631a3ff2e7e754f79167eb024ee55925e | [log] [tgz] |
---|---|---|
author | Wei Wang <weiwa@google.com> | Mon Aug 18 21:58:32 2014 -0700 |
committer | Wei Wang <weiwa@google.com> | Tue Aug 19 10:40:36 2014 -0700 |
tree | 82fb91ecbf09dfc82553c9c67a19bd4a911cf56f | |
parent | 3f05bf4d7838cb719e78f9d93b22d7ce777392c5 [diff] |
Fix threading issue for advertising. Post callback to main thread to execute. In general we should avoid running app's callback method from binder thread as the callback method may block. Also removed callback from advertisers on stop advertising callback. This fixes the issue of not being able to restart adv for limited advertising. Bug: 17045567 Change-Id: I56cd2bdf4b1ad120a0358fa4065ad77be4bff144