commit | 8d98dd2e6d4656fde4d9be42b64918457869382c | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Wed Dec 26 17:36:54 2018 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Fri Jan 04 18:26:07 2019 +0800 |
tree | d49416666181b034955947813299fbf7f2507696 | |
parent | 2b9930d0b74280db8bc43fd622b1e8c2ad1c45d6 [diff] |
Fix NPE when running ActivityManagerServiceTest Since ATM is not passed to WindowProcessController, NPE happened when trying to access mAtm.mGlobalLock Add a null check to prevent this kind of NPE. Test: atest ActivityManagerServiceTest Change-Id: I813386adcd6eab5206a75c8bf56b0c26968b26c8 Fixes: 111651991