SF: populate state correctly in Display::applyLayerRequestsToLayers

Fix a bug where we update a local copy of the state instead of updating it.

Bug: 189076031
Test: db shell /data/nativetest64/libcompositionengine_test/libcompositionengine_test
Change-Id: I15bd19e3ba468e39a938584246a02337087fa612
2 files changed