Hack from MIUI

Change-Id: I3161f612cd544f819c9a596528daa59fa6c4f5a3