Skip to content
Commit 6e96460f authored by Jeongsik Mun's avatar Jeongsik Mun Committed by Song Chun Fan
Browse files

Remove UPDATED_SYSTEM_APP from updated system apps no longer exist

This address an issue where getPkgState().isUpdatedSystemApp() remains
true even if the apk on /system is removed during OTA.

With this change, it sets updatedSystemApp to false when revoking
system privileges before re-scanning an apk on /data for updated
system apps no longer exist.

Bug: 265752747
Test: Manually tested
  1. Install an app on /product
  2. Update the app
  3. Delete the apk on /product and reboot
  4. Make sure FLAG_UPDATED_SYSTEM_APP removed
Change-Id: I9d9136ac19326599a20afd4710afdaf904572cb2
parent 2fad91a2
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