Bug 1346926 - Make PVRManager::SetHaveEventListener async
- There appears to be no issues with simply changing
SetHaveEventListener from sync to async.
MozReview-Commit-ID: 3LKgDx9AZnm
--- a/gfx/vr/ipc/PVRManager.ipdl
+++ b/gfx/vr/ipc/PVRManager.ipdl
@@ -45,17 +45,17 @@ parent:
// asynchronously to children via UpdateDisplayInfo.
async RefreshDisplays();
// Reset the sensor of the display identified by aDisplayID so that the current
// sensor state is the "Zero" position.
async ResetSensor(uint32_t aDisplayID);
sync GetSensorState(uint32_t aDisplayID) returns(VRHMDSensorState aState);
- sync SetHaveEventListener(bool aHaveEventListener);
+ async SetHaveEventListener(bool aHaveEventListener);
async ControllerListenerAdded();
async ControllerListenerRemoved();
async CreateVRTestSystem();
async CreateVRServiceTestDisplay(nsCString aID, uint32_t aPromiseID);
async CreateVRServiceTestController(nsCString aID, uint32_t aPromiseID);
async SetDisplayInfoToMockDisplay(uint32_t aDeviceID, VRDisplayInfo aDisplayInfo);
async SetSensorStateToMockDisplay(uint32_t aDeviceID, VRHMDSensorState aSensorState);
--- a/ipc/ipdl/sync-messages.ini
+++ b/ipc/ipdl/sync-messages.ini
@@ -946,18 +946,16 @@ description =
[PWebRenderBridge::DeleteImage]
description =
[PWebRenderBridge::DPSyncEnd]
description =
[PWebRenderBridge::DPGetSnapshot]
description =
[PVRManager::GetSensorState]
description =
-[PVRManager::SetHaveEventListener]
-description =
[PHal::GetCurrentBatteryInformation]
description =
[PHal::GetCurrentNetworkInformation]
description =
[PHal::GetScreenEnabled]
description =
[PHal::GetKeyLightEnabled]
description =