[pm] remove mRemovedAppId in PackageRemovedInfo

This CL should be a no-op.

This field is only used to indicate whether we should send
Intent.ACTION_UID_REMOVED broadcast. Its name is confusing and can lead
to misusages where the appId is sent when the UID is supposed to be sent.

Delete this field and replace it with a boolean. Make sure mUid is set
properly which will be used for broadcasts.

BUG: 314207341
Test: atest CtsPackageManagerTest
Test: atest android.content.pm.cts.PackageManagerShellCommandMultiUserTest#testPackageRemovedBroadcastsMultiUser

Change-Id: I63483028d76a7c0a29caff82232b4cd413c10365
6 files changed