Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cb12be36 authored by SzuWei Lin's avatar SzuWei Lin Committed by Hung-ying Tyan
Browse files

Let shared user checking to be backward-compatible

The shared user checking becomes strict. If there is an APK in
vendor partition shared UID with a APK in system partition, the
signatures of these 2 APKs must be equal. Otherwise, framework
will throw an exception and cannot boot.

After Android 9, all devices must make sure their APKs passing
the checking.

The patch relaxes the exception for the devices which upgraded
from 9 or earlier version. With this patch, we still can boot the
upgraded devices with old vendor and new GSI. For example,
vendor on 9 and GSI on 10.

Bug: 117135529
Test: boot a walleye device on P with aosp_arm64_ab-userdebug
      (SPL patched) with the patch

Change-Id: I55287210e226ad760b761eb624a1826dc7e31bd8
parent 67502cd6
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