summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Hai Zhang <zhanghai@google.com> 2021-11-16 11:09:24 +0000
committer Hai Zhang <zhanghai@google.com> 2021-11-16 11:23:27 +0000
commit0b43aa9cd9361639dceb1b93b8de2f37fcdc2897 (patch)
treebd0a45a674b730c9392b90af8cbde4eb75034a84 /libs/input/SpriteController.cpp
parent9e816cb183c6ae4005b3d954135cad3179582f0f (diff)
Fix install permission revocation upon source package uninstallation.
The revocation should only be done when the source package is completely removed, instead of only being marked as uninstalled for certain users. However, the original code would erroneously take a null pkg parameter as the package is gone instead of its original meaning that all packages need to be updated. So simply drop that parameter and get the pkg from package manager to see if the package is really being completely removed. Bug: 206047992 Test: atest RemovePermissionTest Change-Id: Iabbf045a87cb00b4c27d562ff126570f385f64c1
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions