RESOLVED FIXED259706
WebKit shouldn't be modifying the value of UIApplication.idleTimerDisabled
https://bugs.webkit.org/show_bug.cgi?id=259706
Summary WebKit shouldn't be modifying the value of UIApplication.idleTimerDisabled
Chris Dumez
Reported 2023-08-01 14:16:11 PDT
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.
Attachments
Chris Dumez
Comment 1 2023-08-01 14:19:02 PDT
EWS
Comment 2 2023-08-01 16:54:30 PDT
Committed 266499@main (9ed33f8f5890): <https://commits.webkit.org/266499@main> Reviewed commits have been landed. Closing PR #16291 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-08-01 16:55:18 PDT
Note You need to log in before you can comment on or make changes to this bug.