getType() should be const (for type-checking).

Bug: 10427951

Change-Id: I9284351390d568d0242d87f49adc14348d209e69
diff --git a/cpp/rsCppStructs.h b/cpp/rsCppStructs.h
index ef354f8..dca2bb1 100644
--- a/cpp/rsCppStructs.h
+++ b/cpp/rsCppStructs.h
@@ -247,7 +247,7 @@
     void validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h);
 
 public:
-    sp<const Type> getType() {
+    sp<const Type> getType() const {
         return mType;
     }