Use quick path to start recents if the caller is trusted

To reduce latency that schedules on another thread with more
steps to process pending intent.

The quick path can only be used when the creator uid of
PendingIntent is recents itself, so the real caller is restricted
to be only from recents component (SystemUiProxy).

Bug: 275508603
Test: Capture trace when swiping up app to enter recent.
Change-Id: I1d817e52ba22296269cd651cf38d3606aab6d7b3
3 files changed