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

Commit a0c6bfc2 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Remove redundant flush

Change-Id: I1023ceb28444c82f16bafd431c2913723a85b58a
parent 65060ae8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -186,8 +186,6 @@ public class PerfettoProtoLogImpl implements IProtoLog {
                }

                os.end(outProtologViewerConfigToken);

                ctx.flush();
            } catch (IOException e) {
                Log.e(LOG_TAG, "Failed to read ProtoLog viewer config to dump on tracing end", e);
            }
+0 −2
Original line number Diff line number Diff line
@@ -674,8 +674,6 @@ public class DataSourceTest {
                            protoOutputStream.write(SINGLE_INT, singleIntValue);
                            protoOutputStream.end(payloadToken);
                            protoOutputStream.end(forTestingToken);

                            ctx.flush();
                        }),
                        (args) -> {}
                );
+0 −2
Original line number Diff line number Diff line
@@ -214,8 +214,6 @@ public class PerfettoTransitionTracer implements TransitionTracer {

            }
            os.end(mappingsToken);

            ctx.flush();
        });
    }
}