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

Skip to content
Commit a3807493 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Fix NPE in streamin policy getters.

If there is a DO but it is not on userId, admin was null.

With this change DO policies set on other users aren't
taken into account, NEARBY_STREAMING_NOT_CONTROLLED_BY_POLICY
is returned.

Fixes: 264761323
Test: atest NearbyNotificationStreamingPolicyTest
Test: atest NearbyAppStreamingPolicyTest
Change-Id: I4562fb44d663a2d590ab92dd66b881b636838910
parent ec3c5f10
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