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

Commit e13f1b5a authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Log correct number of whitelisted packages.

Bug: 135525766
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Change-Id: Ia66978d60bcfb30d3182e7d30f3594f59d5f8ad7
parent b7abebde
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6443,7 +6443,7 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
                    .setAdmin(admin)
                    .setStrings(vpnPackage)
                    .setBoolean(lockdown)
                    .setInt(/* number of vpn packages */ 0)
                    .setInt(lockdownWhitelist != null ? lockdownWhitelist.size() : 0)
                    .write();
        } finally {
            mInjector.binderRestoreCallingIdentity(token);