commit | 9a7c95209133f64db249dc8176359b82df1fe4f8 | [log] [tgz] |
---|---|---|
author | TYM Tsai <tymtsai@google.com> | Wed Jul 24 17:05:32 2019 +0800 |
committer | TYM Tsai <tymtsai@google.com> | Wed Jul 24 20:47:28 2019 +0800 |
tree | 1cd5b1e456b88fb6696521ba22e6f512a83ee0f0 | |
parent | 2e1bec127419cfc78d508393556b6663d64c54c8 [diff] |
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