diff options
author | Robert Carr <racarr@google.com> | 2018-03-30 15:39:58 -0700 |
---|---|---|
committer | Robert Carr <racarr@google.com> | 2018-04-02 12:17:14 -0700 |
commit | b6d4e2be31eeae83a1b80689073f10ffaeab8a58 (patch) | |
tree | d9ed7312331faa58f1537b4d2b00fdebb2608f4e /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 825581a3eefac8565184caf7ddb7f7e30efaa51f (diff) |
Avoid calling detachChildren from onAppVisibilityChanged
When entering PiP we use mDeferHidingClient to prevent sending
the app visibility to the client before it has a chance to enter PiP.
However, WindowState#onAppVisibilityChanged is not guarded by this
so we could end up detaching children when we mean to enter PiP. Instead
only detach children from sendAppVisibilityToClients so that we are
correctly guarded by the mDeferHidingClient flag.
Bug: 77294187
Test: Manual. go/wm-smoke.
Change-Id: Ia9df12fadf3c48d0704e9e6d7e98a6e9cf46783d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions