/data/system/packages.xml does not update after install/uninstall of apps. Is that expected?
As per stock android code. (AOSP) packages.xml needs to have the entry for installed packages for retaining any fancy priv-app kind of configuration/overrides/updates that we do.