I know that I can unlock the screen, pull out notifications and click the "Clear notifications" button, but there should be a way to clear notifications via ADB , right? I suppose this is a bit of Intent sent via the am command, or maybe something even simpler, but I cannot find anything on the network. All I get is Java code for use with apk .
Edit: I should probably mention that I'm working on 4.3, sometimes commands may vary between versions.
android shell adb android-notifications
Mishap
source share