diff options
author | Andrii Kulian <akulian@google.com> | 2018-06-15 14:32:04 -0700 |
---|---|---|
committer | Andrii Kulian <akulian@google.com> | 2018-06-15 15:42:03 -0700 |
commit | 2f0d73cac893d5d86b015ed44a2d4fee9a60bc29 (patch) | |
tree | e75a13e7ba7f5d740bb131c2bf49acd6b2a09d33 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f910fdb1daf1bd3c28222efde503e2ff8de5c027 (diff) |
Skip updating stack config if it is detached from a display
Ensuring visibility or configuration of activities in a stack can be
triggered from outside of system service by a client callback, e.g.
ActivityManagerService#activityPaused(). We should skip doing that
whenever we see that a stack is no longer attached to a display.
This CL restores the behavior that was in place where the error might
happen before switching to using
ActivityStackSupervisor#ensureVisibilityAndConfig() and will only
ensure system-wide activity visibility without updating config.
Bug: 110074206
Test: Build and run
Change-Id: Ib347b56b66ce27e4ed8c263ffb425d336012a4ff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions