Complete the fix of #17279. Previous PR #17394 only affected the case when switching Windows theme with VSCode.
This PR ensures VSCode won't start in High Contrast theme if windows.autoDetectHighContrast is false.
Check window.autoDetectHighContrast on window load
Hi @geirsagberg, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.