Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36005

Add a function to disable screensaver / screen dimming in Android

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.2.0
    • QPA
    • None
    • Android, probably iOS too

    • Android

    Description

      There seems to be no more way to disable screen dimming / screensaver in Android with Qt 5.

      Keeping the screen on is however essential for application such as a media player, especially when in fullscreen mode.

      It could be implemented similar to viewer.setFullScreen() or even be included in it, for example using "getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);"

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rampe Rami Potinkara
            kalileo Kali Leo
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            9 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes