commit | 1da50a201b9bf2f126badce397c4a5998e7e2366 | [log] [tgz] |
---|---|---|
author | Bryce Lee <brycelee@google.com> | Thu Apr 28 17:57:38 2022 +0000 |
committer | Bryce Lee <brycelee@google.com> | Thu Apr 28 17:57:38 2022 +0000 |
tree | 0c40ce767dcf3d6e7239af7a79b2a40eab9fa69a | |
parent | d5d0f0c2631c6f90397d4de3a65e7f72a0c5c9b9 [diff] |
Unbind from dream overlay in onUnbind. If a dream is unbound before finish, unbinding from the overlay service will not occur before onDestroy. This will result in an exception from unbinding from a non registered service. This change ensures the dream service unbinds from the overlay service when unbound. Test: atest DreamManagerServiceTests#testForceStopStubbornDream Fixed: 229824204 Change-Id: Id708b9119c5498bf9632b21a539c3ca7f5506737