OSDN Git Service

Fix for syncs being dropped when appIdle is on
authorShreyas Basarge <snb@google.com>
Mon, 11 Jan 2016 15:43:54 +0000 (15:43 +0000)
committerShreyas Basarge <snb@google.com>
Thu, 14 Jan 2016 01:16:24 +0000 (01:16 +0000)
commit2c051498b2b0e2608740d906e70867b74083107d
tree0e37cf6fa5c128b4c3d89c7a4a411210223a595f
parent198ce1a5e6fbe2cb84263e427032e9715e27379f
Fix for syncs being dropped when appIdle is on

Syncs were being dropped when appIdleMode was on for
an app. This CL backs off the sync instead of dropping
it. When the app becomes non-idle, backoff is cleared
and the sync is performed.

Bug: 26355386
Change-Id: I2040dfd847011d3ca902e66a8cd52b2a429177c1
services/core/java/com/android/server/content/SyncManager.java