commit | 5bcd3fa6ccf1d1f3b53feae2a9df6b2d55745cb9 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Thu Nov 07 13:47:57 2019 +0000 |
committer | Alan Stokes <alanstokes@google.com> | Tue Nov 12 09:03:20 2019 +0000 |
tree | 2910e3e10a7ef65abd0d0dbbfd1e834448f348a8 | |
parent | 5ed8537b6600fbcee82755f8bff4b80d8fea96cb [diff] |
Minor optimisations to InstallSource. Memoize the common case used for most system apps. Don't intern() a string when we know it already has been. Bug: 134746019 Test: atest CtsPackageInstallTestCases PackageManagerTests Change-Id: I191b3b994c84cfa948f2cdc9f23d18b1b9b8f834