commit | 462fd2fa9eef642b0574aa7409de0bde3fec8d43 | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Mon Jan 14 14:12:05 2013 -0800 |
committer | Marco Nelissen <marcone@google.com> | Fri Oct 25 11:13:17 2013 -0700 |
tree | 65446a138d197f062bf199480b96cca4df560fcf | |
parent | f7d89bd79d170be3b299717ac11aff62909314c5 [diff] [blame] |
Assign blame for playback wakelocks. Set a work source for the playback wakelock, so that playback is counted against the requesting app instead of the media server. Change-Id: I7329f88a288a95a582a78005a1c3d16a5a611e31
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index d6b10f7..d244c14 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h
@@ -109,6 +109,7 @@ pid_t tid, int *sessionId, String8& name, + int clientUid, status_t *status /*non-NULL*/); virtual sp<IAudioRecord> openRecord(