Support new android api.