Reword USER_TYPE_PACKAGE_WHITELIST_MODE_LOG

UserSystemPackageInstaller's log mode doesn't currently
log each non-whitelisted app's start (although it may
in the future), so the documentation should be updated.
It should be purposefully loose since the exact logging
is likely to change in the future.

Test: N/A. Just documentation.
Change-Id: Id7c46339d2b884d01e1e2a32d619a3a03a33958e
This commit is contained in:
Adam Bookatz
2020-02-10 13:56:46 -08:00
parent c10a8f038f
commit 3483914b86
2 changed files with 2 additions and 2 deletions

View File

@@ -2374,7 +2374,7 @@
type. These are flags and can be freely combined.
0 - disable whitelist (install all system packages; no logging)
1 - enforce (only install system packages if they are whitelisted)
2 - log (log when a non-whitelisted package is run)
2 - log (log non-whitelisted packages)
4 - any package not mentioned in the whitelist file is implicitly whitelisted on all users
8 - same as 4, but just for the SYSTEM user
16 - ignore OTAs (don't install system packages during OTAs)

View File

@@ -89,7 +89,7 @@ class UserSystemPackageInstaller {
* <ul>
* <li> 0 - disable whitelist (install all system packages; no logging)</li>
* <li> 1 - enforce (only install system packages if they are whitelisted)</li>
* <li> 2 - log (log when a non-whitelisted package is run)</li>
* <li> 2 - log (log non-whitelisted packages)</li>
* <li> 4 - for all users: implicitly whitelist any package not mentioned in the whitelist</li>
* <li> 8 - for SYSTEM: implicitly whitelist any package not mentioned in the whitelist</li>
* <li> 16 - ignore OTAs (don't install system packages during OTAs)</li>