diff options
author | Christopher Tate <ctate@google.com> | 2019-06-10 18:19:31 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2019-06-11 17:03:16 -0700 |
commit | a23f12a1a9db0d75c39cbfbe9e794dc84418c962 (patch) | |
tree | b6c36207c0f37172231ae9da176366d147ce4ea9 /startop/scripts/lib/cmd_utils.py | |
parent | 2407da88a7931896ad7b7d3f30e706b14b8fae28 (diff) |
Catch SecurityException thrown from job binding
In some circumstances, a SecurityException can be thrown by
bindService() even when called by the OS itself. If this happens when
starting up a scheduled job, make sure to catch and handle the exception
rather than allowing the system server to crash.
Fixes: 134893684
Test: atest CtsJobSchedulerTestCases
Change-Id: Ib0dd2df5d48e13e7b7c75d7117d0ffa361b000ce
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions