diff --git a/android-plugin/app/src/trace/java/top/mobilegl/plugin/MobileGLServerService.java b/android-plugin/app/src/trace/java/top/mobilegl/plugin/MobileGLServerService.java index b063afa4..c7ac8cfc 100644 --- a/android-plugin/app/src/trace/java/top/mobilegl/plugin/MobileGLServerService.java +++ b/android-plugin/app/src/trace/java/top/mobilegl/plugin/MobileGLServerService.java @@ -122,6 +122,10 @@ public final class MobileGLServerService extends Service { String line; while ((line = output.readLine()) != null) Log.i(TAG, line); Log.i(TAG, "supervisor exited " + child.waitFor()); + } catch (java.io.InterruptedIOException stopped) { + // onDestroy's Process.destroy() closes this stream under the read: the service + // is being stopped (P12 D8: the display Activity stops it), not failing. + Log.i(TAG, "supervisor output closed: the service is stopping"); } catch (Exception error) { Log.e(TAG, "supervisor output failed", error); } finally {