Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 85af68c8 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 118d92f7: Merge change I16925b91 into eclair

Merge commit '118d92f7' into eclair-plus-aosp

* commit '118d92f7':
  Finish fixing issue #2228381: android.view.InflateException...
parents 543e4801 118d92f7
Loading
Loading
Loading
Loading
+24 −13
Original line number Diff line number Diff line
@@ -3541,9 +3541,14 @@ public class WindowManagerService extends IWindowManager.Stub
                wtoken.inPendingTransaction = true;
                if (visible) {
                    mOpeningApps.add(wtoken);
                    wtoken.allDrawn = false;
                    wtoken.startingDisplayed = false;
                    wtoken.startingMoved = false;
                    
                    // If the token is currently hidden (should be the
                    // common case), then we need to set up to wait for
                    // its windows to be ready.
                    if (wtoken.hidden) {
                        wtoken.allDrawn = false;
                        wtoken.waitingToShow = true;
    
                        if (wtoken.clientHidden) {
@@ -3556,10 +3561,16 @@ public class WindowManagerService extends IWindowManager.Stub
                            wtoken.clientHidden = false;
                            wtoken.sendAppVisibilityToClients();
                        }
                    }
                } else {
                    mClosingApps.add(wtoken);
                    
                    // If the token is currently visible (should be the
                    // common case), then set up to wait for it to be hidden.
                    if (!wtoken.hidden) {
                        wtoken.waitingToHide = true;
                    }
                }
                return;
            }