diff options
| author | 2024-05-16 18:02:54 -0700 | |
|---|---|---|
| committer | 2024-05-20 17:36:27 -0700 | |
| commit | fb778cf704b76e344dd5edf85c0d6a7c4ef74c5f (patch) | |
| tree | 4ffd0d78dd21a5cb9e2ac6367b4316e09de84c73 /libs/input/SpriteController.cpp | |
| parent | 61e25300319471919274e69867f4940279e63ba8 (diff) | |
Remove File.exists() checks for app metadata files
File.exists() is expensive especially when the file does not exist.
Instead of doing this check we will cache whether or not the file was
sucessfully written to the session.
Bug: 338174039
Test: atest InstallAppMetadataTest
Change-Id: I43a30bd1dc46a2169c591ab65458b8e79b0caec5
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions