commit | 90cfbd2571dcbc6793e51ed808dafa7be8a0cd8f | [log] [tgz] |
---|---|---|
author | Soonil Nagarkar <sooniln@google.com> | Tue Dec 28 13:24:00 2021 -0800 |
committer | Soonil Nagarkar <sooniln@google.com> | Tue Dec 28 13:34:25 2021 -0800 |
tree | f250beeda5add00ca80265cf879c2bf9f7825328 | |
parent | 6489e997ac4fd9761da3b54bbbedc778eec66887 [diff] |
Cleanup some code 1) Extract PendingIntent.send() compat behavior into a helper class. 2) Catch only RuntimeExceptions from wakelocks, so that other exceptions will cause crashes. Test: presubmits Change-Id: I8eda8282cdb1c390fb8026b066304f1a169b598b