Correctly initialize LayerIter's cached device origin.

Previously, LayerIter called the base device iterator's next() call
during initialization. However, its next() call should be called instead,
since it does both the base device AND caches the
device's reported origin.

Without calling this->next(), the first device's origin would never be
fetched and the layer would report an incorrect origin.

Bug: b/151328374
Change-Id: I889673e2e93e54618544d62333bd9d04438bea00
Commit-Queue: Michael Ludwig <>
Reviewed-by: Derek Sollenberger <>
1 file changed