diff options
| author | 2023-02-17 15:05:20 +0900 | |
|---|---|---|
| committer | 2023-02-17 15:41:26 +0000 | |
| commit | e95067c57f31835ce750aefcb3e3d1790b24943f (patch) | |
| tree | a99fda8553d1939f1299ed2422da4c98fec77e08 /libs/androidfw/ApkParsing.cpp | |
| parent | e17d89baec9a19a5f379e7bb09281e77f5f6a3d7 (diff) | |
Make TaskStackListener work in freeform mode
Some callbacks of TaskStackListener aren't invoked in freeform
mode when they should be. For example, currently onFocusChanged()
is invoked in setResumedActivityUncheckLocked(), but this
incorrectly assume that focus change is only caused by an activity
getting resumed.
The main idea of this CL is to move the invocation of some
callbacks from the "caller" of the corresponding event to the
"callee" (or at least a bit deepr in the call stack) to ensure
that we don't forget to invoke them in all cases.
Bug: 268131581
Bug: 268130984
Test: atest CtsWindowManagerDeviceTestCases
Change-Id: I6b0cef7cf14fac161346c88250ab05ea50db6f9a
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions