Skip to content
Commit 3fff5c48 authored by Jordan Jozwiak's avatar Jordan Jozwiak
Browse files

Handle null from unitialized live data

In the onPermissionUsagesChanged() callback we weren't checking whether
getPackagePermGroupsLiveData().getValue() was null. However, we were
checking in another instance. Make usage consistent by annotating the
parameter as Nullable and properly handling null.

Bug: 205195921
Bug: 216693713
Test: Manual testing
Change-Id: I6d4a2b79492ab4fa5a3df0f3f6b1d85a1331d8e5
(cherry picked from commit 6ce5f9ec)
parent 724ffa4c
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