-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebKit shouldn't be modifying the value of UIApplication.idleTimerDis…
…abled https://bugs.webkit.org/show_bug.cgi?id=259706 Reviewed by Jer Noble. WebKit shouldn't be modifying the value of UIApplication.idleTimerDisabled because we're a framework. The hosting application can rely on this flag to prevent screen sleep and it is not good for WebKit to be potentially overriding a value set by the application. To address the issue, the UIKit code indicates that frameworks are expected to call the `_setIdleTimerDisabled:forReason:` SPI instead. * Source/WebCore/PAL/pal/spi/ios/UIKitSPI.h: * Source/WebCore/PAL/pal/system/ios/SleepDisablerIOS.mm: (PAL::ScreenSleepDisabler::updateState): Canonical link: https://commits.webkit.org/266499@main
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters