[PM] Keep the value of isPendingRestore in share user changed

When the value of isPendingRestore is true, even if we create the
new PackageSettings in share user changed case, we still need to
set the value of isPendingRestore to true in new PackageSettings.

Bug: 334996345
Test: manual. 1. Create the backup and factory reset the device
              2. Enable archive install in store app
              3. Restore the app (share user changed) in setupwizard
	      4. Unarchive the app. Check the permission is restored
Change-Id: I45c410193377add028bcd0ffaa1d85444ba20f5b
1 file changed