commit | e3f593297969c83921f2643763a5b39c26695906 | [log] [tgz] |
---|---|---|
author | Greg Kaiser <gkaiser@google.com> | Mon Aug 06 06:16:29 2018 -0700 |
committer | Greg Kaiser <gkaiser@google.com> | Mon Aug 06 09:08:55 2018 -0700 |
tree | 29684dd24952c21f70033cd0991d0475d44d4f9e | |
parent | a8341e8779dc24c6b83913940dd58add9ac27626 [diff] |
VoldNativeService: Minor performance improvement string::find() looks in every position of the string for a match. We switch to android::base::StartsWith() so we only look for a match in the first position. Test: TreeHugger Change-Id: Idda1a6b60cab8b4eb4b335921fe0fa38eab724dc