Pass additional flags to UninstallerActivity to handle archiving case
when app's data should be saved.
Firstly, archiving is going to be used in Settings->Apps->App Info
screen. WIthout these changes the app is being archived (special case of
uninstalling) instantly without any confirmation dialog because Settings
app holds all the necessary permissions.
Test: atest CtsPackageUninstallTestCases:android.packageinstaller.uninstall.cts.ArchiveTest#requestArchive_confirmationDialog -c
Bug: 304256700
Change-Id: Ic516fed930738e0c141d9bf6ac6e9c56c12c0fc4
11 files changed