os-issue-tracker icon indicating copy to clipboard operation
os-issue-tracker copied to clipboard

System Update automatically reboots during phone calls

Open LinuxDragon57 opened this issue 2 years ago • 4 comments

If automatic reboots are toggled to on in the system update settings, the updater will trigger automatic reboot during phone calls. When I experience this bug, I have the phone screen off and I am on a phone call with my wireless headphones.

LinuxDragon57 avatar Jun 24 '23 21:06 LinuxDragon57

The implementation of this feature is the upstream idle job implementation with no changes made to it.

thestinger avatar Jun 24 '23 22:06 thestinger

can use Power manager isInteractive api.

empratyush avatar May 14 '24 14:05 empratyush

We're already using https://developer.android.com/reference/android/app/job/JobInfo.Builder#setRequiresDeviceIdle(boolean) and I don't expect the definition is much different.

thestinger avatar May 14 '24 14:05 thestinger

It is different, setRequiresDeviceIdle is "device is NOT in active use" and isInteractive is "if the device is in an interactive state" (awake).

empratyush avatar May 14 '24 14:05 empratyush