The question arises then, though, when the power state of a device is overridden, what happens when it's forced back on? Do wake locks magically reacquire as if nothing happened, or do they all get dropped on forced power-off and pages have to reacquire them?
The latter makes more sense to me in the abstract, but the former seems less error prone for developers. Maybe the former is the way to go.
The question arises then, though, when the power state of a device is overridden, what happens when it's forced back on? Do wake locks magically reacquire as if nothing happened, or do they all get dropped on forced power-off and pages have to reacquire them?
The latter makes more sense to me in the abstract, but the former seems less error prone for developers. Maybe the former is the way to go.