Leung , who faces a maximum of 50 years in prison if convicted , also told the judge that she understood her constitutional rights .