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

Skip to content
Commit 7bdc21cf authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Do not lock when calling startActivityFromRecents

When calling ActivityStarter#execute without known activity info,
it will need to resolve the intent and check content provider uri
permission. That may hit potential deadlock (acquire AM lock) so
it will return denial directly if the WM global lock is held.

Bug: 189057104
Test: Start and stop recording, tap the notification to view the
      recorded result. Press back to finish the activity. Launch
      the activity from recents app without permission denial.
Test: Pin apps to split from recents.

Change-Id: Ibf3fee1f29f3069f0adfa85ed983f6d48bf7ebd7
parent ff811613
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