(Android) Rename autodetect function