The Windows App SDK empowers all Windows desktop apps with modern Windows UI, APIs, and platform features, including back-compat support, shipped via NuGet.
This is a fix for PowerNotifications' Suspend Status callback throwing an exception.
This was due to the code resetting the status and throwing an exception if the status is checked before it has been set/after it had been reset. The error here was that since there are multiple suspend callbacks from the system, the status was being reset before there was a chance to read it. The fix removes the resetting of the status as it isn't needed.
This is a fix for PowerNotifications' Suspend Status callback throwing an exception.
This was due to the code resetting the status and throwing an exception if the status is checked before it has been set/after it had been reset. The error here was that since there are multiple suspend callbacks from the system, the status was being reset before there was a chance to read it. The fix removes the resetting of the status as it isn't needed.
Fixes:
2833