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

Commit b8b17a1f authored by Sungsoo Lim's avatar Sungsoo Lim Committed by Android (Google) Code Review
Browse files

Merge "MediaSessionService: Fix NPE when startup" into rvc-dev

parents d65f6e8f d555ba85
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -85,6 +85,9 @@ final class MediaButtonReceiverHolder {
            return null;
        }
        ComponentName componentName = ComponentName.unflattenFromString(tokens[0]);
        if (componentName == null) {
            return null;
        }
        int userId = Integer.parseInt(tokens[1]);
        // Guess component type if the OS version is updated from the older version.
        int componentType = (tokens.length == 3)