commit | 381280d263748055bda5df3bf7d1d10b65b85f5c | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Thu Aug 11 10:39:59 2011 +0100 |
committer | Ben Murdoch <benm@google.com> | Thu Aug 11 10:42:57 2011 +0100 |
tree | 1a6709bcccaa500205105490f7fc14e3299d0781 | |
parent | 864a2200268f9a9fc3edfad1f4ac1bab60d4fab1 [diff] |
Fix potential NPE when saving/deleting Autofill profile. As the callback to display a toast confirmation to the user is asynchronous there's a chance that the Fragment might be detached when the callback is invoked. Guard against the potential NPE in this case. Bug: 5142413 Change-Id: Ic331e1ef3b738c5f2415b028da42c81f8f5e84d2