Smartphone maker Xiaomi Corp confirmed on Friday that it had dismissed the head of its Africa division for violating a Chinese law pertaining to indecent public behavior.