diff options
| author | 2022-12-08 07:36:24 +0000 | |
|---|---|---|
| committer | 2022-12-08 07:37:31 +0000 | |
| commit | ef15e6ff608ca44b507f1a29b4cf067c84a42ce4 (patch) | |
| tree | 5bfce2ccfb7325ce0a0e96482a2ef0a6eb4be207 /libs/androidfw/StringPool.cpp | |
| parent | b29e4dc3a30723aa075227735f0a3684a39ce353 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions