commit | 6b212287d043564cfe0b6a127aae30e5fa5a08cf | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Nov 22 22:00:08 2015 +0900 |
committer | Randy Pan <zpan@google.com> | Thu Dec 10 16:06:50 2015 -0800 |
tree | 215fe27d44f6bbb23c59a30a869ee3e92ce66036 | |
parent | 4aa47e58c4f8d654981a9d6a7362c8bb8b2a7e30 [diff] |
DO NOT MERGE Don't crash when canceling alarms if a direct listener is present If a direct listener alarm attempts to match a regular PendingIntent alarm, it will attempt to fetch the binder of the regular alarm's direct listener, which is null, and crash the system with an NPE. Cherry-picked from 9b43ce0c98ce9f865d6db547529d098c8982cc Bug: 25823676 Change-Id: I85fb98b43436930a2513274dc5ab408f7d41d97f