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

Commit 3ca45919 authored by Anna Zhuravleva's avatar Anna Zhuravleva
Browse files

Log user type on in enable_quiet mode event

Log type of the user to distinguish work_profile
and private space users.

Bug: 312183485
Test: statsd_testdrive 103, output:
https://paste.googleplex.com/4854896965189632

Change-Id: Ied454d112d058a3a64a2279d3e2d4549adae14f1
parent eb8cfbba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1566,6 +1566,7 @@ public class UserManagerService extends IUserManager.Stub {
                : now - userData.info.creationTime);
        DevicePolicyEventLogger
                .createEvent(DevicePolicyEnums.REQUEST_QUIET_MODE_ENABLED)
                .setInt(UserJourneyLogger.getUserTypeForStatsd(userData.info.userType))
                .setStrings(callingPackage)
                .setBoolean(enableQuietMode)
                .setTimePeriod(period)