supporting android-10 in inspector. getSize was added in 13.

http://stackoverflow.com/a/10564149/725944