mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-20 08:21:56 +09:00
[android-plugin] (P12): MobileGLServerService logs its supervisor's closed output as the service stopping, not as a failure with a stack trace, when the display Activity stops it
This commit is contained in:
@@ -122,6 +122,10 @@ public final class MobileGLServerService extends Service {
|
|||||||
String line;
|
String line;
|
||||||
while ((line = output.readLine()) != null) Log.i(TAG, line);
|
while ((line = output.readLine()) != null) Log.i(TAG, line);
|
||||||
Log.i(TAG, "supervisor exited " + child.waitFor());
|
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) {
|
} catch (Exception error) {
|
||||||
Log.e(TAG, "supervisor output failed", error);
|
Log.e(TAG, "supervisor output failed", error);
|
||||||
} finally {
|
} finally {
|
||||||
|
|||||||
Reference in New Issue
Block a user