Android O will support self-dismissing notifications3
Now, Google has announced another feature for developers to be aware of — notification timeout. Basically, this means that certain notifications will be able to dismiss themselves if the user does not interact with them in a certain amount of time. That's great for games, for example, where you get a message "Get 200 gems for 50% off in the next 2 hours". You tap that notification only to find out that you were too busy with work and the promotion is long gone. Damn job, getting in the way of our half-off gem deals!
Well, forward-thinking developers will be able to use setTimeout to spare you such disappointment once Android O rolls out. Let's see, that's probably going to be in autumn for Pixel users and some time in 2018 for everyone else. Look on the bright side, Game of Thrones Season 7 is coming much sooner!