• henfredemars@infosec.pub
    link
    fedilink
    English
    arrow-up
    15
    ·
    9 months ago

    I know this isn’t the main point of your comment, but DontKillMyApp is about much more than system resource management. It’s about consistent behavior so that developers can program to a standard rather than a wild west of whatever a handset decides to do.

    Either you write your app to accommodate every special case implementation of background execution requirements, or users get upset when the instant message isn’t delivered and blame the app.

    To make matters worse, many Chinese devices just kill everything in the background that’s not on a hard coded whitelist. This is a failure of Android when it doesn’t require consistent behavior. On these devices, applications that have a legitimate reason to run in the background just don’t work correctly.

    I think the situation is getting much better with recent Android versions.

    • Fisch@discuss.tchncs.de
      link
      fedilink
      arrow-up
      12
      ·
      9 months ago

      To make matters worse, many Chinese devices just kill everything in the background that’s not on a hard coded whitelist.

      Looking at Xiaomi’s Miui here. My last phone was a Xiaomi one and it was great. It didn’t take long for me to install LineageOS on it tho because Miui is horrible. It killed every app you had opened the second you switched to another one. Things like email verification codes were literally impossible to enter into an app because when you went into your mail app, copied the code and then went back into the app you wanted to enter it in, that app would have to start up again because it was already killed in the background.

      Also, Miui itself used up like half my RAM without anything being opened and it was buggy as hell.

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        They do this because it pumps up those battery statistics but it harms the user experience which is much harder to test.