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

Commit 066bdcfe authored by Andy McFadden's avatar Andy McFadden Committed by Android (Google) Code Review
Browse files

Merge "Fix wrapper equals()"

parents db759c3f a0175536
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
/*
**
** Copyright 2012, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ public class EGLConfig extends EGLObjectHandle {
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!(o instanceof EGLConfig)) return false;

        EGLConfig that = (EGLConfig) o;
        return getHandle() == that.getHandle();
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ public class EGLContext extends EGLObjectHandle {
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!(o instanceof EGLContext)) return false;

        EGLContext that = (EGLContext) o;
        return getHandle() == that.getHandle();
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ public class EGLDisplay extends EGLObjectHandle {
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!(o instanceof EGLDisplay)) return false;

        EGLDisplay that = (EGLDisplay) o;
        return getHandle() == that.getHandle();
+0 −1
Original line number Diff line number Diff line
/*
**
** Copyright 2013, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
Loading