diff options
author | Andreas Huber <andih@google.com> | 2011-06-30 15:47:02 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-07-01 13:18:43 -0700 |
commit | 603d739b5a444c52b63f1ec7cd2098034151ad25 (patch) | |
tree | 16f400b743b887a612f124aec561c4cf3e92a781 /include | |
parent | 5faaadffbfb272f6a5f686834dadaf5408cf0ed2 (diff) | |
download | frameworks_base-603d739b5a444c52b63f1ec7cd2098034151ad25.zip frameworks_base-603d739b5a444c52b63f1ec7cd2098034151ad25.tar.gz frameworks_base-603d739b5a444c52b63f1ec7cd2098034151ad25.tar.bz2 |
Charge network traffic to the uid of the process using the MediaPlayer.
Change-Id: I2bcb54b8232afd3fc7ee16289f37c7a7b3f23067
related-to-bug: 4517282
Diffstat (limited to 'include')
-rw-r--r-- | include/media/MediaPlayerInterface.h | 4 |
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; |