OSDN Git Service

Work on issue #18201239: ANRs in com.google.process.gapps:
authorDianne Hackborn <hackbod@google.com>
Wed, 21 Jan 2015 17:55:13 +0000 (09:55 -0800)
committerDianne Hackborn <hackbod@google.com>
Wed, 21 Jan 2015 17:55:13 +0000 (09:55 -0800)
commit455625e298204a27d3958eb56ff155f27562eec8
treea43cdff7f280b13275a3cd0749ff8d7e3229772f
parent66f8d9bb693d5e410ac6f6ba3029cf6c7dc2f104
Work on issue #18201239: ANRs in com.google.process.gapps:

Reason: Executing service com.google.android.syncadapters.contacts
/.SyncHighResPhotoIntentService

Make the code more robust when destroying services, so that if
the nesting count gets out of sync we don't just hang.

Change-Id: If117d5ef242e7c148fd9576bd89a1a092583d6ad
core/java/android/app/ActivityThread.java
services/core/java/com/android/server/am/ActiveServices.java
services/core/java/com/android/server/am/ServiceRecord.java