I used latest code to pair with my HTC device but failed. I found that we did receive RequestConfirmation event in AgentEventFilter, in that case BluetoothService::Notify should be called because it registered for LOCAL_AGENT_PATH & REMOTE_AGENT_PATH in Init(). However, if Bluetooth was ever switched off, mBluetoothSignalObserverTable would be clear, and we won't register again.
blocking-basecamp: --- → ?
Created attachment 664451 [details] [diff] [review] v1 patch Since mBluetoothSignalObserverTable (in BluetoothService) is cleared when we stop bluetooth, the entry of LOCAL_AGENT_PATH, REMOTE_AGENT_PATH, and BluetoothManager(/) which should be kept in the table are also removed. In this patch, we re-add these entries when bluetooth is started.
Assignee: echou → gyeh
Attachment #664451 - Flags: review?(kyle)
6 years ago
Attachment #664451 - Flags: review?(kyle) → review+
Created attachment 664751 [details] [diff] [review] Final version, r=qdot
Attachment #664451 - Attachment is obsolete: true
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.