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

Commit 53e988c4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "GraphicsStatService: fix double close."

parents 4c1bbeac db644122
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ public class GraphicsStatsService extends IGraphicsStats.Stub {
            if (!file.getFileDescriptor().valid()) {
                throw new IllegalStateException("Invalid file descriptor");
            }
            return new ParcelFileDescriptor(file.getFileDescriptor());
            return ParcelFileDescriptor.dup(file.getFileDescriptor());
        } catch (IOException ex) {
            throw new IllegalStateException("Failed to get PFD from memory file", ex);
        }