commit | 86d13f3daf6f5562bd83d086008d287c58d841c3 | [log] [tgz] |
---|---|---|
author | Masaaki Iwaguchi <masaaki.x.iwaguchi@sonymobile.com> | Fri Apr 03 16:11:39 2015 +0900 |
committer | Ed Savage-Jones <edward.savage-jones@sonymobile.com> | Thu Nov 05 17:39:21 2015 +0000 |
tree | 90c2a6cae9e82d79e651cd66652809989c0b2310 | |
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