Loading
Introduced WindowProcessController/Listener (10/n)
One heavy dependence between the current AMS service and activities is process management which is heavy affected by activities and their current state. We introduce WindowProcessController and WindowProcessListener objects as a structured way for the process changes in AM package to be communicated to the WM package and WindowProcessListner for activity changes in the WM package to the communicated back to the AM package. The ProcessRecord object in AM will own the WindowProcessController object and also implement the WindowProcessListener. Test: Existing tests pass Test: go/wm-smoke-auto Bug: 80414790 Change-Id: I9e96e841b0f95e99a597cb4629fa5d2fe45760b6