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

Skip to content
Commit 3548564e authored by Jackal Guo's avatar Jackal Guo
Browse files

Respect package source from adb install

The package source is set to PACKAGE_SOURCE_OTHER in PackageManager-
ShellCommand by default. However, the source would be overrided to
PACKAGE_SOURCE_UNSPECIFIED if installerPackageName is null in the
InstallSource#createInternal. We should respect the package source
if it's set.

Bug: 240114543
Test: atest CtsPackageInstallTestCases:InstallSourceInfoTest
Test: manually install an app via adb install, and check the source
Change-Id: Ide5851d17d82bb3f20693b62348e303226f97a48
parent 826721d1
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