commit | 2cbfa1ec746fa4b3c385ab5c2f707895dd4ecf50 | [log] [tgz] |
---|---|---|
author | Amith Yamasani <yamasani@google.com> | Tue Mar 28 10:34:01 2017 -0700 |
committer | Amith Yamasani <yamasani@google.com> | Tue Mar 28 10:34:01 2017 -0700 |
tree | 938da7fedc85b0d980feda2d9de297de92abbba6 | |
parent | d70f423d093c3728c3ed2d3859195e94cd3b97ee [diff] |
Catch IllegalArgumentException to avoid SyncManager crash When SyncManager's scheduling races with an app with a sync adapter being uninstalled, it can get an IAE from PackageManager. Catch this exception and skip over the job. Bug: 36658118 Test: Manual Change-Id: I0a63a3e0aa19cb5685aa18c7c6c9d6dd6ccfd60a