diff options
author | Felipe Leme <felipeal@google.com> | 2016-03-08 12:44:22 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2016-03-08 12:44:22 -0800 |
commit | 0f2daaf2f7f0f9a35512e452231fd34e743ddc51 (patch) | |
tree | 310f1ad61a02b2da29482b9e9ab8c5e6b60ec78e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions