Skip to content
Commit ef15e6ff authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove duplicated field of activity stopped state

It is leftover since merging AppWindowToken and ActivityRecord.
Both "stopped" and "mAppStopped" are set to true if the activity
completed stopped, and set to false if the activity is going to
resume. While "mAppStopped" will change to false if the activity
is requested to be visible. That is closer to the definition
about the relation of visibility and lifecycle state, so choose
to keep "mAppStopped".

Also inline notifyAppStopped() into activityStopped() because there
is only one usage since the methods were migrated from 2 files for
handling stopped activity.

Bug: 163976519
Test: CtsWindowManagerDeviceTestCases
Change-Id: Ieb2b4ebf91c08be1977bf619981454c8222ac20d
parent b29e4dc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment