Fix runaway scroll capture

Empty result was not being considered an "edge", preventing
the loop from ever exiting.

Bug: 180390325
Test: manual
Change-Id: Ia87c7a5cedc0acda671b9fdef924140c9be01f77
1 file changed