summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-07-01 14:28:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-07-01 14:28:10 -0700
commit13b263c0fb2f03f12089150c3d05b545c25257ca (patch)
tree4ed42309ed640d52f1e03b29416df4c53d940278 /include
parentea317826269a1faecc2c61b76e2dab9bb7e70a62 (diff)
parent9b80c2bdb205bc143104f54d0743b6eedd67b14e (diff)
downloadframeworks_av-13b263c0fb2f03f12089150c3d05b545c25257ca.zip
frameworks_av-13b263c0fb2f03f12089150c3d05b545c25257ca.tar.gz
frameworks_av-13b263c0fb2f03f12089150c3d05b545c25257ca.tar.bz2
Merge "Charge network traffic to the uid of the process using the MediaPlayer."
Diffstat (limited to 'include')
-rw-r--r--include/media/MediaPlayerInterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h
index 18e8a5f..4328d3c 100644
--- a/include/media/MediaPlayerInterface.h
+++ b/include/media/MediaPlayerInterface.h
@@ -103,6 +103,10 @@ public:
virtual status_t initCheck() = 0;
virtual bool hardwareOutput() = 0;
+ virtual status_t setUID(uid_t uid) {
+ return INVALID_OPERATION;
+ }
+
virtual status_t setDataSource(
const char *url,
const KeyedVector<String8, String8> *headers = NULL) = 0;