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

Skip to content
Commit a5ca55c9 authored by Arian's avatar Arian Committed by Paul Keith
Browse files

SystemUI: MediaOutputController: Avoid NPE when created with empty packageName

If mPackageName is empty the mMediaController won't be set in start() which
results in a null object reference. Prior to commit d1f381a7
it was possible to create MediaOutputController with an empty package name.
In this case the dialog did not contain information about currently played
media but provided working options to change the output device. This commit
returns this behaviour.

Change-Id: I94939467dcfe759f8e4aae88097579fb17c94a8e
parent 9d31f5ad
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