mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 737833 - Disallow AppUserModelID registration calls for immersive mode. r=rstrong
This commit is contained in:
parent
3a2cf3d366
commit
9edffdfab0
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user