diff options
author | 2025-01-13 15:41:33 -0800 | |
---|---|---|
committer | 2025-02-07 15:27:56 -0800 | |
commit | cb1eb9b9e99e0f2f79982d854d6ad2bc54137d3b (patch) | |
tree | 504e340a058e2a8647183e742e8c20b67fecc208 /tools/aapt2/ResourceParser.cpp | |
parent | ab9c80e6b30fa39dea5780f74aa717d05c97862e (diff) |
Fix the DiskReadViolation in GameManagerSettings
* Run the settings read in GameManagerService's handler as
the thread calling from AM doesn't have IO permission.
* Replace the close with try-with-resources for stability,
or we should close in the finally block instead.
* Fix the lazy init loading for the test.
Bug: 322221105
Flag: EXEMPT bugfix
Test: atest GameManagerServiceTests GameManagerServiceSettingsTests
Change-Id: Ic6227a607c71353e5f1c4c28ebe2a24c4c752935
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions