Fix activity start on clicking Glance widget from GH
Activites failed to launch when clicking on Glance widget lazy list
because pending intent template is not filled in when calling
`startPendingIntentMaybeDismissingKeyguard`.
The fix is to refactor `startPendingIntentDismissingKeyguard` to accept
the extra params so that the the fill-in intent is set when calling
`PendingIntent#sendAndReturnResult`.
Bug: b/324062788
Test: atest ActivityStarterImplTest
Test: verfied app opened on clicking News, Finance and TV after keyguard is dismissed
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: Ib4bc1dde62a3837b9747b7c4e9c40b17c1fe4b5e
5 files changed