Add a new API to let app installer to flag package source.

Bug: 202130031
Test: Able to boot without error
Test: When app is installed by PackageInstaller app, restricted
settings app ops is set to MODE_ERRORED.
Test: atest InstallSourceInfoTest

Change-Id: I190583809d43386e671a82ded721a1829cb64dbb
19 files changed