Skip to content
Commit d8f738dc authored by Rhed Jao's avatar Rhed Jao
Browse files

Fix side channel leakage from the api of overrideLabelAndIcon

- The package information is disclosed from the different exceptions
  thrown by the api of IPackageManager#overrideLabelAndIcon.

- Fix the PackageManagerComponentOverrideTests breakage.

- Add non-existent package tests in the
  PackageManagerComponentOverrideTests. Verify that the api should
  throw security exception if the package does not exist.

Bug: 184851840
Bug: 190596162
Test: atest PackageManagerComponentOverrideTests
Change-Id: I77a9cc0f87413913bbcb93674f16c311574654dd
parent d52baf86
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment