losp: Fix crash Google Pinyin

Change-Id: Ia482d88a11cfe605d35968a76ae37f4611b28ae9