Bug 737833 - Disallow AppUserModelID registration calls for immersive mode. r=rstrong

This commit is contained in:
Brian R. Bondy 2012-09-17 15:22:33 -04:00
parent 3a2cf3d366
commit 9edffdfab0

View File

@ -328,6 +328,10 @@ WinTaskbar::RegisterAppUserModelID() {
if (WinUtils::GetWindowsVersion() < WinUtils::WIN7_VERSION)
return false;
if (XRE_GetWindowsEnvironment() == WindowsEnvironmentType_Metro) {
return false;
}
SetCurrentProcessExplicitAppUserModelIDPtr funcAppUserModelID = nullptr;
bool retVal = false;