Which just makes this whole thing even more nonsensical and confusing since androids don't have the need to expel waste the way humans do, and thus would not need to use a restroom.
Technically, that would depend on what would power the android. An android that gets energy from processing human food would work pretty well and there is sci-fi precedent for it- androids in the Aliens films eat food.
That said, I would hope they would have a more efficient way to get rid of that food waste than humans, so maybe they wouldn't need bathrooms.