Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3483914b authored by Adam Bookatz's avatar Adam Bookatz
Browse files

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
parent c10a8f03
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2374,7 +2374,7 @@
         type. These are flags and can be freely combined.
         type. These are flags and can be freely combined.
         0  - disable whitelist (install all system packages; no logging)
         0  - disable whitelist (install all system packages; no logging)
         1  - enforce (only install system packages if they are whitelisted)
         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
         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
         8  - same as 4, but just for the SYSTEM user
         16 - ignore OTAs (don't install system packages during OTAs)
         16 - ignore OTAs (don't install system packages during OTAs)
+1 −1
Original line number Original line Diff line number Diff line
@@ -89,7 +89,7 @@ class UserSystemPackageInstaller {
     * <ul>
     * <ul>
     * <li> 0  - disable whitelist (install all system packages; no logging)</li>
     * <li> 0  - disable whitelist (install all system packages; no logging)</li>
     * <li> 1  - enforce (only install system packages if they are whitelisted)</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> 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> 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>
     * <li> 16 - ignore OTAs (don't install system packages during OTAs)</li>