Normally app android apps have some signature and if they updated, the signature of the new apk needs to match the signature of the old apk.
But which proccess is checking this?
Is this integrating into the operating system itself or is the store client doing the checking?