commit | e3ca05bbf94fdc746d29d367b76550b40161f69b | [log] [tgz] |
---|---|---|
author | Joanne Chung <joannechung@google.com> | Wed Nov 13 11:01:42 2019 +0800 |
committer | Joanne Chung <joannechung@google.com> | Wed Nov 13 11:01:42 2019 +0800 |
tree | c345d5f00ae12c0647b915b2884122d27ae3c6a2 | |
parent | a3eb42784774daaac8bb2872c0794de6386c4f93 [diff] |
Fix NPE when onStopUser. The default value of mConnection is null, it initializes lazy when we are serving the first request. Due to no request comes, the mConnection keeps null which causes NPE. Bug: 144356634 Test: Manual. Create work profile. Make usre no NPE when stop work profile. Change-Id: Id656a83989e18ac6f62c1456609bd55e44663914