setMiuiUI

public static boolean setMiuiUI(Activity activity, boolean dark)