Follows-up I9bfa502a0b (9b8f153f). Also document the reason for this logic, to the best of my knowledge, and some ideas to improve it. Bug: T305093 Change-Id: I4c5bf4d4da83ff1e03d0fe0dd9891507b1f1e455
9b8f153f