Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca6eb95d authored by Greg Kaiser's avatar Greg Kaiser
Browse files

btif: Lighter weight file existence check

We switch from the heavier weight fopen() to using access() to
check for file existence and readability.  This avoids some of
the file opening overhead we don't need here.

Test: TreeHugger
Change-Id: Ib47b24e9d96803b7822535f9f566aa7818b38953
parent 92bc679e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment