modify the code which can't work on android4.0

modify the code which can't work on android4.0