commit | 42d97911487c0f8529d6c7d9d743eaf3449449cb | [log] [tgz] |
---|---|---|
author | dimorinny <dimorinny@google.com> | Wed Dec 15 23:44:53 2021 +0000 |
committer | dimorinny <dimorinny@google.com> | Thu Dec 16 13:27:46 2021 +0000 |
tree | c61ed32dbc501a47450c846bed6567683f3533b0 | |
parent | 4e59b1968c504f59ba6047405c54d782f00f9b34 [diff] |
Get rid of unnecessary grant file locking that may potentially affect AM performance. Even though this file is accessed from separate threads, there is no space for race condition here because it is read in the very early stages of system boot but writes may only happen in 10 seconds after communication. Bug: 149370983 Test: locally by flashing device and check basic functionality and atest UriGrantsManagerServiceTest Change-Id: I3737646cbc0333b0dcbdc89fb8e165b0c2432018