in app/src/main/java/com/google/firebase/example/fireeats/util/FirebaseUtil.java [50:62]
public static FirebaseAuth getAuth() {
if (AUTH == null) {
AUTH = FirebaseAuth.getInstance();
// Connect to the Firebase Auth emulator when appropriate. The host '10.0.2.2' is a
// special IP address to let the Android emulator connect to 'localhost'.
if (sUseEmulators) {
AUTH.useEmulator("10.0.2.2", 9099);
}
}
return AUTH;
}