commit | 35e4a7029e259f19ad5ef7713211794eabfd65e1 | [log] [tgz] |
---|---|---|
author | Pawit Pornkitprasan <p.pawit@gmail.com> | Mon Dec 17 17:57:51 2012 +0700 |
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | Mon Dec 17 18:04:17 2012 +0700 |
tree | b27475ee08e8c00fa37760877c910947481eed88 | |
parent | c749261fea1010dfa2d1337bd210c81d13052540 [diff] |
Toast: fix force close if called from system service If a toast is created from a system service, an application context will not be available, use the service context instead. Fixes http://code.google.com/p/android/issues/detail?id=40058 http://code.google.com/p/android/issues/detail?id=40075 Change-Id: Ic643f4557fa04476819cd2c3ee640b735eeae429