SF: Introduce LayerLifecycleManager
LayerLifecycleManager keeps track of layer lifecyle and state changes. This breaks the existing model of using refbase and LayerHandles to keep layer's alive. Instead, the LayerLifecycleManager owns each layer and destroys them based on the layer parent state and its handle state. In addition, this class keeps track of requested layer state changes, keeping track of change flags that make the data easier to consume down the pipeline. The code is not enabled. Bug: 238781169 Test: presubmit Change-Id: I4e77efd0e689ddb513beb947d31c2fb1cd33880c
Loading
Please register or sign in to comment