diff options
author | Jin Seok Park <jinpark@google.com> | 2020-09-24 00:50:56 +0900 |
---|---|---|
committer | Jin Seok Park <jinpark@google.com> | 2020-09-24 03:06:43 +0000 |
commit | 9db9306e89cee81091625f329196922bc69e8566 (patch) | |
tree | f2d374b99706284e444630d79105dc1334501536 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 533f629fee9e5dd8de571fd8683e41f49b718c8b (diff) |
[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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions