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
Loading
Please register or sign in to comment