@@ -774,7 +774,7 @@ public boolean onTransact(int code, Parcel data, Parcel reply, int flags)
774774 // The window manager only throws security exceptions, so let's
775775 // log all others.
776776 if (!(e instanceof SecurityException )) {
777- Slog . e (TAG , "Window Manager Crash" , e );
777+ Log . wtf (TAG , "Window Manager Crash" , e );
778778 }
779779 throw e ;
780780 }
@@ -7096,7 +7096,7 @@ private final void performLayoutAndPlaceSurfacesLocked() {
70967096 }
70977097 }
70987098 } catch (RuntimeException e ) {
7099- Slog . e (TAG , "Unhandled exception while force removing for memory" , e );
7099+ Log . wtf (TAG , "Unhandled exception while force removing for memory" , e );
71007100 }
71017101
71027102 try {
@@ -7131,7 +7131,7 @@ private final void performLayoutAndPlaceSurfacesLocked() {
71317131 }
71327132 } catch (RuntimeException e ) {
71337133 mInLayout = false ;
7134- Slog . e (TAG , "Unhandled exception while layout out windows" , e );
7134+ Log . wtf (TAG , "Unhandled exception while laying out windows" , e );
71357135 }
71367136 }
71377137
@@ -8397,7 +8397,7 @@ private final void performLayoutAndPlaceSurfacesLockedInner(
83978397 }
83988398 }
83998399 } catch (RuntimeException e ) {
8400- Slog . e (TAG , "Unhandled exception in Window Manager" , e );
8400+ Log . wtf (TAG , "Unhandled exception in Window Manager" , e );
84018401 }
84028402
84038403 Surface .closeTransaction ();
@@ -9179,7 +9179,7 @@ void dumpWindowsLocked(FileDescriptor fd, PrintWriter pw, boolean dumpAll,
91799179 if (windows == null || windows .contains (w )) {
91809180 pw .print (" Window #" ); pw .print (i ); pw .print (' ' );
91819181 pw .print (w ); pw .println (":" );
9182- w .dump (pw , " " , dumpAll );
9182+ w .dump (pw , " " , dumpAll || windows != null );
91839183 }
91849184 }
91859185 if (mInputMethodDialogs .size () > 0 ) {
0 commit comments