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

Skip to content
Commit 58c35d5a authored by Zhao Wei Liew's avatar Zhao Wei Liew
Browse files

SoundSettings: Prevent NPE due to linked volumes change

In AOSP, mRingOrNotificationPreference can never be null.

However, ever since the linked notification volumes change
in commit 6430dbd2, there is a
possibility that mRingOrNotificationPreference is null,
causing an NPE when calling showIcon() on it.

Add a null check to prevent that.

Change-Id: I8d7231f50fc1f04acdc706e2d2c775bed7803fca
(cherry picked from commit bd47a5a5)
parent 3cbc805e
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