OSDN Git Service

Skip "sync didn't run" WTF when job is stopped too soon
authorMakoto Onuki <omakoto@google.com>
Thu, 11 Jan 2018 23:51:23 +0000 (15:51 -0800)
committerMakoto Onuki <omakoto@google.com>
Fri, 12 Jan 2018 20:16:44 +0000 (12:16 -0800)
commit7273aad8132d388d25a8461408f3e27825ce80f4
tree6116e693f4bd37063752318b22fd2f71b2f445a3
parent422a67987f2157cf709c07cb9132bdd775ebfc96
Skip "sync didn't run" WTF when job is stopped too soon

Job scheduler may call onStopJob() right after onStartJob() when a
constraint is no longer satisfied. In that case this WTF shouldn't fire.

Bug: 71866667
Test: manual test (trigger some syncs)
Change-Id: I2ba3b076b60692b02019f3e74b384aea63e27bb4
services/core/java/com/android/server/content/SyncJobService.java