@@ -326,6 +326,11 @@ public void computeFrameLw(Rect parentFrame, Rect displayFrame,
326326 * Returns true if {@link #hideLw} was last called for the window.
327327 */
328328 public boolean showLw (boolean doAnimation );
329+
330+ /**
331+ * Check whether the process hosting this window is currently alive.
332+ */
333+ public boolean isAlive ();
329334 }
330335
331336 /**
@@ -447,7 +452,7 @@ public void init(Context context, IWindowManager windowManager,
447452 * Called by window manager once it has the initial, default native
448453 * display dimensions.
449454 */
450- public void setInitialDisplaySize (int width , int height );
455+ public void setInitialDisplaySize (Display display , int width , int height );
451456
452457 /**
453458 * Check permissions when adding a window.
@@ -514,10 +519,10 @@ public void init(Context context, IWindowManager windowManager,
514519 public int getMaxWallpaperLayer ();
515520
516521 /**
517- * Return true if the policy allows the status bar to hide . Otherwise,
518- * it is a tablet -style system bar.
522+ * Return true if the policy desires a full unified system nav bar . Otherwise,
523+ * it is a phone -style status bar with optional nav bar.
519524 */
520- public boolean canStatusBarHide ();
525+ public boolean hasSystemNavBar ();
521526
522527 /**
523528 * Return the display width available after excluding any screen
0 commit comments