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

Skip to content
Commit f387a969 authored by Kholoud Mohamed's avatar Kholoud Mohamed
Browse files

Fix bug in policy size tracking

Removing policies that were set before the policy size tracking flag was
enabled causes an NPE as we assume the admin always exist in the policy
size map. Also added admin policy size to dumpsys.

Bug: 336196915
Test: btest android.devicepolicy.cts.DevicePolicyManagerTest
Test: manual testing - set policy with flag disabled, enable flag,
remove profile
Change-Id: I5e9e11c8e45a1733c2b1dcb8b2057a2ac4aedfdf
parent 81f6b5c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment