commit | 08fc72d0317fd39a6fa0b2d47c6a5b1529309629 | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Thu Feb 20 12:50:41 2014 +0000 |
committer | Robin Lee <rgl@google.com> | Thu Feb 20 13:39:10 2014 +0000 |
tree | d6b360352ecfb22566cedc0a96468a464df527bd | |
parent | c4f6c351e18380e712d5d365d2a13cfa5674daf7 [diff] |
Check DeviceOwner exists before using packageName Creating a profile owner when there is no device owner present also creates a new DeviceOwner object without packageName set -- this situation can lead to a null pointer access when calling isDeviceOwner. Change-Id: I31eab498d78cadc67a1aedd205b458dee2d27705