问题
My application uses Toast and it no longer works under Android 4.1 (Jelly Bean) unless the Application setting "Show notifications" is checked. Is there a way to programatically set this on? I have looked through the permissions list but have not found anything. Searching discovers an outstanding issue no. 35013 with Google.
来源:https://stackoverflow.com/questions/12611635/how-to-turn-on-the-application-setting-show-notifications-in-4-1-jelly-bean-fo