commit | c729f699349f6bf57c50d64e88011964043403ef | [log] [tgz] |
---|---|---|
author | Hiroki Yamamoto <hiroki.yamamoto@sonymobile.com> | Tue Nov 22 18:35:21 2016 +0900 |
committer | Ruchi Kandoi <kandoiruchi@google.com> | Mon Mar 06 23:43:34 2017 +0000 |
tree | 541f0a871fb0e8eb33eed8fabc9f57421cdc7af7 | |
parent | 54d1ba782232c5aed7317afb95b94f2390d182cf [diff] |
Fix NPE in isForegroundAllowedLocked() Sometimes crash happens if a preferred foreground service is deleted. In order to avoid this, null check should be added. Test: manual Bug: 33062858 Change-Id: I349697cae8b38976d22e20fbddc64612a9df57c4