Skip to content
Commit 9db9306e authored by Jin Seok Park's avatar Jin Seok Park
Browse files

[DO NOT MERGE] Fix logic for storing MediaButtonReceiver

Currently, MediaButtonReceiverHolder stores the
ComponentName.toString() value and tries to unflatten it with
ComponentName.unflattenFromString(String).
This causes restoring a stored MediaButtonReceiver to fail.

This CL changes it MediaButtonRecieverHolder store
ComponentName.flattenToString() value instead.

Bug: 169246173
Test: 1. Play music on YT Music.
      2. Reboot phone.
      3. Send media key event (PLAY)

Change-Id: I33449c0affd7f79e5988e7709cbbe45218766bf8
parent 533f629f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment