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

Commit 763ccae7 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change I8e7f5f07 into eclair

* changes:
  DO NOT MERGE: Fix loss of focus after wakeup into incall screen
parents 25aa87b2 405d0898
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -9303,6 +9303,15 @@ public class WindowManagerService extends IWindowManager.Stub
                                    & WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER) != 0) {
                                wallpaperMayChange = true;
                            }
                            if (changed && !forceHiding
                                    && (mCurrentFocus == null)
                                    && (mFocusedApp != null)) {
                                // It's possible that the last focus recalculation left no
                                // current focused window even though the app has come to the
                                // foreground already.  In this case, we make sure to recalculate
                                // focus when we show a window.
                                focusMayChange = true;
                            }
                        }
                        
                        mPolicy.animatingWindowLw(w, attrs);