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

Commit 9a7c9520 authored by TYM Tsai's avatar TYM Tsai
Browse files

Fix calling startActivity() crash

Calling startActivity() from outside of an Activity  context requires
the FLAG_ACTIVITY_NEW_TASK flag. Override the Context to add this flag
to avoid crash.

Fixes: 138268580
Test: manual
Test: atest CtsAutoFillServiceTestCases
Change-Id: I7fd1f35c06a43be08d348c3dbed9155c4fcc59ef
parent 2e1bec12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment