commit | 0f2daaf2f7f0f9a35512e452231fd34e743ddc51 | [log] [tgz] |
---|---|---|
author | Felipe Leme <felipeal@google.com> | Tue Mar 08 12:44:22 2016 -0800 |
committer | Felipe Leme <felipeal@google.com> | Tue Mar 08 12:44:22 2016 -0800 |
tree | 310f1ad61a02b2da29482b9e9ab8c5e6b60ec78e | |
parent | 7ba6dc0fcc66c96383aabd8db40adf1bac66ce7f [diff] |
Call stopSelfWhenDone() *after* canceling the notification. When a bugreport is shared it's necessary to remove its system notification and stop the service if there is no more pending bugreports. Since the service will might be killed as a result, to call to cancel the notification must be done prior to calling stopSelf(). BUG: 27524556 Change-Id: Iae9a263b6cee0e4a0a7df3e52621e56b50983fec