summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-12-17 17:57:51 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-12-17 18:04:17 +0700
commit35e4a7029e259f19ad5ef7713211794eabfd65e1 (patch)
treeb27475ee08e8c00fa37760877c910947481eed88 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc749261fea1010dfa2d1337bd210c81d13052540 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions