diff options
| author | 2015-04-03 16:11:39 +0900 | |
|---|---|---|
| committer | 2015-11-05 17:39:21 +0000 | |
| commit | 86d13f3daf6f5562bd83d086008d287c58d841c3 (patch) | |
| tree | 90c2a6cae9e82d79e651cd66652809989c0b2310 /libs/hwui/Extensions.cpp | |
| parent | 82eeb2f20c934ddc97380032b3c8ecacc21d9a04 (diff) | |
Avoid NPE in printspooler when changing language
PrintActivity is recreated when the language setting is changed.
As a result of the recreation mCurrentPrinter is null, which causes
a NullPointerException when onActivityResult() is called.
The issue is solved with a simple null check.
Change-Id: Ic58f0ca01577d2ec02d494739f3bc2f06240dd44
Diffstat (limited to 'libs/hwui/Extensions.cpp')
0 files changed, 0 insertions, 0 deletions