Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a8c3ea35 authored by Paul Damrongpiriyapong's avatar Paul Damrongpiriyapong
Browse files

Set resolvedType when starting activity in TaskFragment

Obtain and set the `resolvedType` of intent to the
`ActivityStarter.Request`.

Prior to the change, certain intents were incorrectly resolved due to
the lack of the `resolvedType` field. An example intent that was
incorrectly resolved prior to the change:

Intent(Intent.ACTION_VIEW, Uri.parse("content://com.android.calendar/time/<unix_time>"))

Also adds a regression test associated with this issue.

Bug: 326133028
Test: atest WmTests:ActivityStartControllerTests
Change-Id: I9c126d29e15c252ee921edfa9858ae4ec6df5558
parent 1a191c20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment