Fixed normal bugs EXT-4450 ([BSI] call buttons enabled when voice is disabled) and EXT-4313
(Should not be able to start a call when voice is disabled). Call buttons state now reacts on voice changes in time. - Added voiceWorking() method to LLVoiceClient to determine real availability of voice, because voiceEnabled() doesn't take into account possible errors. Perhaps there is no need in two methods- some investigation will be made and depending on its results they may become one non-static method. voiceWorking() uses state of voice client(mState) to determine voice availability. Also some states which are not currently counted by voiceWorking() as valid may be added if testing reveals problems. - To enable/disable call buttons in time, LLVoiceClientStatusObserver is used. Its trigger uses states from its enum only to skip updating button in some states(to avoid button blinking), but to determine button state LLVoiceClient's voiceWorking() is used. --HG-- branch : product-engine
Showing
- indra/newview/llavataractions.cpp 2 additions, 11 deletionsindra/newview/llavataractions.cpp
- indra/newview/llavataractions.h 2 additions, 2 deletionsindra/newview/llavataractions.h
- indra/newview/llgrouplist.cpp 4 additions, 0 deletionsindra/newview/llgrouplist.cpp
- indra/newview/llpanelavatar.cpp 30 additions, 1 deletionindra/newview/llpanelavatar.cpp
- indra/newview/llpanelavatar.h 11 additions, 0 deletionsindra/newview/llpanelavatar.h
- indra/newview/llpanelgroup.cpp 22 additions, 11 deletionsindra/newview/llpanelgroup.cpp
- indra/newview/llpanelgroup.h 7 additions, 1 deletionindra/newview/llpanelgroup.h
- indra/newview/llpanelimcontrolpanel.cpp 35 additions, 19 deletionsindra/newview/llpanelimcontrolpanel.cpp
- indra/newview/llpanelimcontrolpanel.h 10 additions, 2 deletionsindra/newview/llpanelimcontrolpanel.h
- indra/newview/llpanelpeople.cpp 20 additions, 25 deletionsindra/newview/llpanelpeople.cpp
- indra/newview/llpanelpeople.h 7 additions, 2 deletionsindra/newview/llpanelpeople.h
- indra/newview/llpanelpeoplemenus.cpp 1 addition, 14 deletionsindra/newview/llpanelpeoplemenus.cpp
- indra/newview/llparticipantlist.cpp 1 addition, 1 deletionindra/newview/llparticipantlist.cpp
- indra/newview/llvoiceclient.cpp 5 additions, 0 deletionsindra/newview/llvoiceclient.cpp
- indra/newview/llvoiceclient.h 2 additions, 0 deletionsindra/newview/llvoiceclient.h
Loading
Please register or sign in to comment