commit | f87b174dac87ed9e95e8522bfb836707f4a2239d | [log] [tgz] |
---|---|---|
author | Benjamin Franz <bfranz@google.com> | Fri Jan 23 15:32:30 2015 +0000 |
committer | Benjamin Franz <bfranz@google.com> | Fri Jan 23 17:04:16 2015 +0000 |
tree | 1be6d419c6c79a3b394fceba034a9a074f791bfe | |
parent | 266303fdb02ca1cf6df348e1af6830675476fd78 [diff] |
Avoid NullPointerException if createUser returns null If createUser returns null, we run into a NullPointerException in createAndInitializeUser. This can happen when the policy DISALLOW_ADD_USER is set. Bug: 19121141 Change-Id: Id4bda832a243fa42c31eb5a176ecaa248aee68f5