add switch_class from android kernel