fix null pointer exception

MIUI-24836

Change-Id: I845ae367bc159e099f435e7dea108981705b712b
Signed-off-by: mochangming <mochangming@xiaomi.com>
update android src of [jellybean]

Change-Id: Ica2da3adac66e4c5d8ca41aa19d809a5f2f2322b
update android src of [jellybean]

Change-Id: I5ba268f3cc20f80cb8ac6321e867c2718d658f1d
update android src of [jellybean]

Change-Id: I6b586053e39cedb0c0522abe71e6fb02784f75eb
update android src of [jellybean]

Change-Id: I3d5363847dffcd2cf8bc4069f4b69a0c1e2dbebb
update android src of [jellybean]

Change-Id: I562bb35c166777d60cd3506ab383566ac749c4aa
update android src of [jellybean]

Change-Id: I4296cdf4a867d0953a1e60600040098e75f572a3
update android src of [jellybean]

Change-Id: I221a7a7ae7cf392812bd877e907a8c2cbb402723
update android src of [jellybean]

Change-Id: Ie517641568f136236962260d6617180e1b558ff3
update android src of [jellybean]

Change-Id: Id88723dee38c465e88ebc9de891b049018450a52
update android src of [jellybean]

Change-Id: I6cf8ada6c17d13919f4878e683b18902023a4bc9
update android src of [jellybean]

Change-Id: Iafe58dd59e904661ad793df5b32009da1ad49d0d
update android src of [jellybean]

Change-Id: I0ec5930232d90117563e70861346f379abe58095
update android src of [jellybean]

Change-Id: Ied835acee2a4ad9bf9ccf62fc17fefd136cce6db
update android src of [jellybean]

Change-Id: I3fc4479b41c3fe682406278161ed3ce0f8a17480
update android src of [jellybean]

Change-Id: I762652b292dd2a24517c62a2d6aae51c59502ff5
update android src of [jellybean]

Change-Id: Ie4406122dd16ddb4688e9cad6a6e7adb066577dc
update android src of [jellybean]

Change-Id: I1311c728f1e69a24d4031a16879133651c601ea3
update android src of [jellybean]

Change-Id: Id3c992d2f2d387a1760330a3d02cc712353a69be
update android src of [jellybean]

Change-Id: I007203b32cc01dfdd38741c36798c3573bfd5279