UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. utsav
    U
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    utsav

    @utsav

    2
    Reputation
    30
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    utsav Unfollow Follow

    Best posts made by utsav

    • QML Timer discrepancy when phone locks

      On a Nexus 5 (running OTA-21) timers running when the phone locks resume "on-time" when the phone is unlocked. For example, a timer with an interval of
      one hour triggered at 9:00 will trigger again at 10:00 even if the phone is locked between 9:15 and 9:45. It will trigger again at 11:00 and so on.

      On a Pixel 3a (also running OTA-21), however, timers running when the phone locks are delayed by the time the phone is locked. In the example above, the timer would trigger at 10:30 rather than 10:00, again at 11:30 and so on.

      The above distinction holds whether or not the app is suspended when the phone is locked.

      Does anyone know why this discrepancy exists?

      I would think the behavior ought to be the same across all devices and that the behavior on the Nexus 5 is to be preferred.

      posted in App Development
      U
      utsav

    Latest posts made by utsav

    • QML Timer discrepancy when phone locks

      On a Nexus 5 (running OTA-21) timers running when the phone locks resume "on-time" when the phone is unlocked. For example, a timer with an interval of
      one hour triggered at 9:00 will trigger again at 10:00 even if the phone is locked between 9:15 and 9:45. It will trigger again at 11:00 and so on.

      On a Pixel 3a (also running OTA-21), however, timers running when the phone locks are delayed by the time the phone is locked. In the example above, the timer would trigger at 10:30 rather than 10:00, again at 11:30 and so on.

      The above distinction holds whether or not the app is suspended when the phone is locked.

      Does anyone know why this discrepancy exists?

      I would think the behavior ought to be the same across all devices and that the behavior on the Nexus 5 is to be preferred.

      posted in App Development
      U
      utsav