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

Skip to content
Commit db3374be authored by Jeongsik Mun's avatar Jeongsik Mun Committed by Songchun Fan
Browse files

Improve performance of AppsFilter#removePackage()

Basically, it updates all visibilities for packages sharing the same
uid on removePackage(). However, the calculated visibility for the uid
is always the same and it could take a lot of time if there are many
packages for the uid.

This CL calculates and updates visibility once only for a package among
them in case of sharedUserId.

Bug: 288223730
Test: atest PackageManagerServiceServerTests:AppsFilterImplTest
Change-Id: I2650e4aa50993ce814d4e90da7a3f16982e2e32c
parent 78de523e
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