Skip to content
Commit 6ce5f9ec 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
Test: Manual testing
Change-Id: I6d4a2b79492ab4fa5a3df0f3f6b1d85a1331d8e5
parent a0dd8a7b
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