Adding iterative calls for intent resolution in chained profiles
To facilitate calls for multiple chained profiles, adding Breadth First
Search to cross profile resolution. Also adding flag
FLAG_ALLOW_CHAINED_RESOLUTION to allow resolution across chained
profiles. If flag is not set, the traversal would stop at that node, if
flag is set it will iteratively call to more neighbours.
Bug: 242885222
Test: Manually tested for work -> owner -> clone profile for
Intent.ACTION_SEND, I was able to send message to clone profile's
whatsapp from work profile.
Change-Id: Idbcd36a0a6ef836b2e83fffb9b4ef0d962f71183
2 files changed