Consolidate logic for 'recent notifications'

Test: runtest systemui-notification
Bug: 74318867
Change-Id: I962fe63f09f466d8e5e8238c66735b20f90c57b4
1 file changed