flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
598 stars 40 forks source link

implement isIdleTimerDisabled on android #263

Closed michaelknoch closed 6 years ago

michaelknoch commented 6 years ago

Type of change: feature

Motivation (current vs expected behavior)

When UIApplication.isIdleTimerDisabled is set to true on iOS, it prevents the device from going to sleep. This should also work on android.

Please check if the PR fulfills these requirements