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

Skip to content
Commit a73342bb authored by Karthikeyan Periasamy's avatar Karthikeyan Periasamy Committed by Gerrit - the friendly Code Review server
Browse files

MediaPlayerService: Fix binder dereference while connecting to media services

IServiceManager.getService can return NULL. Accessing binder object without
checking will cause a crash when ServiceManager fails to find the media services.

Check for NULL and return NO_INIT on failure.

CRs-Fixed: 1064299
Change-Id: Ic8e03d40d60af13d98badb14a8e8d37dab38c001
parent c6f2b040
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