commit | dcc1f9d64e09676086ee6058e4d0dc10e9e78254 | [log] [tgz] |
---|---|---|
author | Fiona Campbell <flc@google.com> | Tue Aug 16 09:44:34 2022 +0000 |
committer | Fiona Campbell <flc@google.com> | Tue Aug 16 09:44:34 2022 +0000 |
tree | 2bb2db65cb8ba934767c828c35f7b18a45835d25 | |
parent | 83f3bbb832e7b21545d5aa95c0a817db37d8d3b9 [diff] |
Prevent race condition by foregroundAppPackageName Create a local variable from the member variable so it cannot become null part way through. Bug: 235064663 Test: Builds Change-Id: Id5d13ee105fc2c78327ff3ddb3839f6cbd99fbab