Skip to content
Commit 5bcd3fa6 authored by Alan Stokes's avatar Alan Stokes
Browse files

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
parent 5ed8537b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment