commit | 038488eab506edb1fcfcd0e32341dff7da72b6e6 | [log] [tgz] |
---|---|---|
author | menghanli <menghanli@google.com> | Thu May 14 10:32:46 2020 +0800 |
committer | menghanli <menghanli@google.com> | Thu May 14 10:32:46 2020 +0800 |
tree | c2c645294d834ed4219cd92226bedeb7aec353e2 | |
parent | d775b6404f90ebc211db942f45ba792477b909a6 [diff] |
Avoid launching activity-based feature to force stop exist actiivty and recreate it. Root cause: FLAG_ACTIVITY_CLEAR_TASK would cause the exist activity are finished and new one items to be started. It causes Live Transcribe main activity goes onStart call of new activity is followed by onStop call of old activity, which cause the mic stopping. Solution: Remmove the FLAG_ACTIVITY_CLEAR_TASK. Bug: 156455425 Test: Manual test Change-Id: Ia5c490cc4816fe41b704ca8ed9dce2891cf44c9b