summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2017-01-03 11:59:52 -0800
committerWinson Chung <winsonc@google.com>2017-01-03 12:11:17 -0800
commitc85d9ced5e7ff65a426cd307838ce970f44d302c (patch)
tree250acc7b93d9d2137e82890e2e0c9ff5e11a5881 /tools/aapt2/diff/Diff.cpp
parentc75ffe8ccb58966753654c5b817507ad11168bca (diff)
Fixing return type check when expanding via menu.
- When the menu is enabled in PIP, the focused stack when expanding a PIP activity to fullscreen is actually the pinned stack. As a result, this was causing a crash since we were setting the return type falsely to APPLICATION_ACTIVITY_TYPE and later re-entering PIP. Instead, this check should really just ensure that we only only set the application return type if the fullscreen stack is visible and we are moving the pinned stack tasks to top. In all other cases, we should move the home stack along with the previously pinned task. Test: Enable menu in SysUI tuner, hit expand and re-enter PIP over home and another activity. Change-Id: I83b41b2f4178c88b9fc01b00eed79b3a53b48560
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions