summaryrefslogtreecommitdiffstats
path: root/rs
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-03-03 20:41:01 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-03 20:41:01 +0000
commit4db08b044dfbd01912353f0c85a43973407d98b0 (patch)
tree5aa1825d043c3d90ce342280e9acd2ed9b6a7333 /rs
parent0e063f1e8aa71e03e5eea1cd56f555d78b7f2279 (diff)
parent9f141fbb786c07ff56324717e1e0747a3cabf23b (diff)
downloadframeworks_base-4db08b044dfbd01912353f0c85a43973407d98b0.zip
frameworks_base-4db08b044dfbd01912353f0c85a43973407d98b0.tar.gz
frameworks_base-4db08b044dfbd01912353f0c85a43973407d98b0.tar.bz2
am 9f141fbb: am fb51a430: am 8377a4fd: Merge "Fix null check for BaseObj.equals."
* commit '9f141fbb786c07ff56324717e1e0747a3cabf23b': Fix null check for BaseObj.equals.
Diffstat (limited to 'rs')
-rw-r--r--rs/java/android/renderscript/BaseObj.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/rs/java/android/renderscript/BaseObj.java b/rs/java/android/renderscript/BaseObj.java
index b386dd7..1372ab7 100644
--- a/rs/java/android/renderscript/BaseObj.java
+++ b/rs/java/android/renderscript/BaseObj.java
@@ -181,6 +181,10 @@ public class BaseObj {
if (this == obj)
return true;
+ if (obj == null) {
+ return false;
+ }
+
if (getClass() != obj.getClass()) {
return false;
}