Add API level check for call to getPendingJob in logging
am: b2504c7327

Change-Id: I813a4e09ff9c011deb663c91355c8436dfcee76b