Well, 484 is petty theft. 490 is the punishment description. You may be thinking of PC 490.5
490.5. (a) Upon a first conviction for petty theft involving
merchandise taken from a merchant's premises or a book or other
library materials taken from a library facility, a person shall be
punished by a mandatory fine of not less than fifty dollars ($50) and
not more than one thousand dollars ($1,000) for each such violation;
and may also be punished by imprisonment in the county jail, not
exceeding six months, or both such fine and imprisonment.
Your friend needs an attorney as soon as possible. Theft can have serious employment and immigration consequences. Most attorneys, like myself, offer a free initial consultation. Good luck.