commit | c8eee94e1b830f9ad2460cd48cb70dfb2a84c58c | [log] [tgz] |
---|---|---|
author | Matthew Mintz <mminty@google.com> | Tue Jul 21 15:42:14 2020 +0800 |
committer | Matthew Mintz <mminty@google.com> | Wed Jul 22 06:44:31 2020 +0000 |
tree | 9f4a9779939387b9cca3746857a022319b7688d3 | |
parent | 269b829684bb93774c59bd708e2d285f27ebaf87 [diff] |
Remove callbacks and messages in onDestroy(). The Runnable is running after destroying the Cursor, which only happens in onDestroy(). So clean up before that happens. Bug: 151283186 Test: Built, installed, and set ringtone. Change-Id: I95c824675e6e710a1dc5d1f8faef2daff6f563e6 Merged-In: I95c824675e6e710a1dc5d1f8faef2daff6f563e6 (cherry picked from commit 2e23b5c0139e78240c2eede61b19731acd7f8c71)