Use a separate status receiver for session preapproval

If a caller intends to use separate receivers for preapproval and
commit, replacing the receivers mid-install may cause a wrong status to
be sent to an unintended receiver. Thus, lets use separate receivers for
session pre approval and commit.

Bug: 289300824
Test: atest CtsPackageInstallTestCases:PreapprovalInstallTest
Change-Id: Ib27c796619bea8d1111427fc436884cac8615040
1 file changed