This activity didn't actually use the uri for anything, but just chopped off the last path segment and interpreted it as row id. What the hell.