Notification通知不能显示,setContentInfo()和serNumber()过时。

原因:setContentInfo()和serNumber()过时,有的安卓版本不支持他的使用。

解决方法:在setContentText(text + " 你想要在setContentInfo()和serNumber()方法里设的值") ;  

猜你喜欢

转载自blog.csdn.net/song91425/article/details/79884502