Skip to content
Commit 5da86759 authored by Mårten Kongstad's avatar Mårten Kongstad Committed by Todd Kennedy
Browse files

Print correct version code when skipping outdated system packages

When a newer version of a package exists on /data, the package manager
will skip scanning the outdated version on /system. As part of this the
following is printed to logcat:

    Package <name> at <path> ignored: updated version <new-version>
    better than this <old-version>

Teach the package manager to read <new-version> from the correct
variable (it used to be identical to <old-version>).

Bug: 78871949
Test: manual (upgrade a pre-installed app, check logcat on reboot)
Change-Id: Iaa4e43d2f91ca33a0e56e90c233d5d02abed781e
parent 0b930eeb
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