
Quoting
California Code of Civil Procedure, Sec. 1161(3)
3.. When he or she continues in possession, in person or by subtenant, after a neglect or failure to perform other conditions or covenants of the lease or agreement under which the property is held, including any covenant not to assign or sublet, than the one for the payment of rent, and three days' notice, in writing, requiring the performance of such conditions or covenants, or the possession of the property, shall have been served upon him or her, and if there is a subtenant in actual occupation of the premises, also, upon the subtenant. Within three days after the service of the notice, the tenant, or any subtenant in actual occupation of the premises, or any mortgagee of the term, or other person interested in its continuance, may perform the conditions or covenants of the lease or pay the stipulated rent, as the case may be, and thereby save the lease from forfeiture; provided, if the conditions and covenants of the lease, violated by the lessee, cannot afterward be performed, then no notice, as last prescribed herein, need be given to the lessee or his or her subtenant, demanding the performance of the violated conditions or covenants of the lease.
A tenant may take proceedings, similar to those prescribed in this chapter, to obtain possession of the premises let to a subtenant or held by a servant, employee, agent, or licensee, in case of his or her unlawful detention of the premises underlet to him or her or held by him or her.