summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author William Loh <wloh@google.com> 2024-07-25 13:53:58 -0700
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2024-08-02 05:40:03 +0000
commit0966c96475788c5acc6a6e03cad3c2a776d1731c (patch)
treec2f36456b4804bc97f984b84392277853ce58818 /api/api_test.go
parent6f2ffb49305c77b2ca703a47a852b6b18f23b86e (diff)
Fix missing ASL after reboot
Only clear the appMetadataFilePath in commitPackageSettings if the lastUpdateTime has changed. Previously we only checked that the old package setting was null which was not reliable because in many cases the old package setting is set to be the existing package setting. Bug: 354882606 Test: Manually add a entry in preinstalled-packages--asl-files.xml for a system app Test: adb shell setprop persist.pm.mock-upgrade true && adb reboot Test: check that the ASL for the system app persists after reboots Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0f41e48273eb54e9bdde58906bca426548cfe70f) Merged-In: Ibbf1be2e3e160eb143393d3eb7bf5fac0e4229a5 Change-Id: Ibbf1be2e3e160eb143393d3eb7bf5fac0e4229a5
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions