diff options
author | Jeff Tinker <jtinker@google.com> | 2012-02-14 14:54:01 -0800 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2012-02-14 14:54:01 -0800 |
commit | dce4161f7d4d39498f69591e876f5fecdde95833 (patch) | |
tree | ae6dde240574c4705b33972a715595281d154d49 /media/libstagefright/WVMExtractor.cpp | |
parent | 6dad4378f2a78d967defc8912ecf47f6ed117584 (diff) | |
download | frameworks_av-dce4161f7d4d39498f69591e876f5fecdde95833.zip frameworks_av-dce4161f7d4d39498f69591e876f5fecdde95833.tar.gz frameworks_av-dce4161f7d4d39498f69591e876f5fecdde95833.tar.bz2 |
Fix videos app bandwidth accounting for 4G streaming
Register the app uid with the WV extractor so it can
attribute bandwidth usage to the proper process.
Multi-repository commit, also changes in vendor/widevine
Change-Id: I42395fd08bf0bfc7e224745f820a714400066456
related-to-bug: 5434244
Diffstat (limited to 'media/libstagefright/WVMExtractor.cpp')
-rw-r--r-- | media/libstagefright/WVMExtractor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/libstagefright/WVMExtractor.cpp b/media/libstagefright/WVMExtractor.cpp index c7ad513..dac8106 100644 --- a/media/libstagefright/WVMExtractor.cpp +++ b/media/libstagefright/WVMExtractor.cpp @@ -123,6 +123,12 @@ void WVMExtractor::setAdaptiveStreamingMode(bool adaptive) { } } +void WVMExtractor::setUID(uid_t uid) { + if (mImpl != NULL) { + mImpl->setUID(uid); + } +} + bool SniffWVM( const sp<DataSource> &source, String8 *mimeType, float *confidence, sp<AMessage> *) { |