| Index: device/vr/vr_device_manager.cc
|
| diff --git a/device/vr/vr_device_manager.cc b/device/vr/vr_device_manager.cc
|
| index ec73db1086f69156716decc453473b00aa002bd7..ad99e0f849b14e7f5213e3525b2f8a46cceaf0b2 100644
|
| --- a/device/vr/vr_device_manager.cc
|
| +++ b/device/vr/vr_device_manager.cc
|
| @@ -123,6 +123,7 @@ unsigned int VRDeviceManager::GetNumberOfConnectedDevices() {
|
|
|
| void VRDeviceManager::ListeningForActivateChanged(bool listening) {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| + VLOG(1) << __FUNCTION__ << ": listening=" << listening;
|
|
|
| bool activate_listeners = listening;
|
| if (!activate_listeners) {
|
| @@ -137,8 +138,11 @@ void VRDeviceManager::ListeningForActivateChanged(bool listening) {
|
| // Notify all the providers if this changes
|
| if (has_activate_listeners_ != activate_listeners) {
|
| has_activate_listeners_ = activate_listeners;
|
| - for (const auto& provider : providers_)
|
| + VLOG(1) << __FUNCTION__ << ": has_activate_listeners_=" << has_activate_listeners_;
|
| + for (const auto& provider : providers_) {
|
| + VLOG(1) << __FUNCTION__ << ": provider SetListeningForActivate " << has_activate_listeners_;
|
| provider->SetListeningForActivate(has_activate_listeners_);
|
| + }
|
| }
|
| }
|
|
|
|
|