diff options
| -rw-r--r-- | core/res/res/values/config.xml | 2 | ||||
| -rw-r--r-- | services/core/java/com/android/server/pm/UserSystemPackageInstaller.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 7f574ba2036b..df6330654e77 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -2351,7 +2351,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) diff --git a/services/core/java/com/android/server/pm/UserSystemPackageInstaller.java b/services/core/java/com/android/server/pm/UserSystemPackageInstaller.java index 77bb48eadc41..4c40448085ff 100644 --- a/services/core/java/com/android/server/pm/UserSystemPackageInstaller.java +++ b/services/core/java/com/android/server/pm/UserSystemPackageInstaller.java @@ -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> |