OSDN Git Service
(root)
/
android-x86
/
system-media.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c074e9
)
Add AUDIO_UID_INVALID
author
Andy Hung
<hunga@google.com>
Tue, 8 Nov 2016 01:38:17 +0000
(17:38 -0800)
committer
Andy Hung
<hunga@google.com>
Tue, 8 Nov 2016 02:48:31 +0000
(18:48 -0800)
Test: power manager should show correct uids for audio
Bug:
32713790
Change-Id: Ib6993e2f06b3fbf5a96942088fa1bae30c5f781f
audio/include/system/audio.h
patch
|
blob
|
history
diff --git
a/audio/include/system/audio.h
b/audio/include/system/audio.h
index
0e2780c
..
e50d93e
100644
(file)
--- a/
audio/include/system/audio.h
+++ b/
audio/include/system/audio.h
@@
-34,6
+34,9
@@
__BEGIN_DECLS
* frameworks/base/include/media/AudioSystem.h
*/
+/* represents an invalid uid for tracks; the calling or client uid is often substituted. */
+#define AUDIO_UID_INVALID ((uid_t)-1)
+
/* device address used to refer to the standard remote submix */
#define AUDIO_REMOTE_SUBMIX_DEVICE_ADDRESS "0"