make it compile for Android.

Delete those extra points and make it return the correct type.