diff options
| author | 2022-07-09 00:15:54 +0000 | |
|---|---|---|
| committer | 2022-07-15 02:44:38 +0000 | |
| commit | 356b008ce97a6a0a422f91d8a705934eb3011c6e (patch) | |
| tree | ba1a5f0d711bab0dc06518c6375a87a8bdb018e8 /libs/androidfw/StringPool.cpp | |
| parent | f9257ef01ba77716824a49f6e35890b1127d94f1 (diff) | |
Add a dedicated method to check task windowing mode
Trying to get a task information via ActivityManager#getAppTasks()
will not report tasks that aren't associated with calling package
by the root activity package name. For activities that are from
a different package the task wasn't found, so the windowing mode
couldn't be checked and WM Extensions didn't report any display
features.
This CL adds a dedicated method to check the task windowing mode
for a given activity token.
Bug: 236295340
Test: ActivityEmbeddingIntegrationTests#testDisplayFeaturesWithEmbedding_differentPackage
Change-Id: If2dbc337c4b8cb909914cc28ae4db28a82ff9de3
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions