Add changed display mode tracking

This commit is contained in:
Ryan Huffman 2016-06-20 16:09:34 -07:00
parent 1eaa9e40cd
commit ab057010d6

View file

@ -5266,6 +5266,11 @@ void Application::updateDisplayMode() {
return;
}
UserActivityLogger::getInstance().logAction("changed_display_mode", {
{ "previous_display_mode", _displayPlugin ? _displayPlugin->getName() : "" },
{ "display_mode", newDisplayPlugin ? newDisplayPlugin->getName() : "" }
});
auto offscreenUi = DependencyManager::get<OffscreenUi>();
// Make the switch atomic from the perspective of other threads