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

Commit 3e737ad1 authored by Song Chun Fan's avatar Song Chun Fan
Browse files

[SettingsProvider] add NPE check for acquireProvider

In rare cases, SettingsProvider cannot be found. For example, when a user is being deleted. In such cases, we should still prevent the caller from crashing by adding a null check for the result of acquireProvider.

BUG: 401857515
FIXES: 401857515
Test: presubmit
FLAG: EXEMPT bug fix
Change-Id: I9b233a9cdaff77e970ae5ae9bb46ee16c1d4054c
parent 31ebd6c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment