OSDN Git Service

Enhancement for OnInfo callback on DRM Framework
authorTakeshi Aimi <takeshi.aimi@sonymobile.com>
Wed, 11 Jul 2012 08:09:21 +0000 (17:09 +0900)
committerJeff Tinker <jtinker@google.com>
Sat, 24 Aug 2013 01:01:07 +0000 (18:01 -0700)
commit5ff7836da0220b3097f36c8a5e82111816ebca62
tree4612e1308d3dd9961db0fae6d3372203d5937f61
parent62c1a46eec047eb5fbc4b90432ec1ce65b76fb75
Enhancement for OnInfo callback on DRM Framework

In DRM framework, plugins can transmit DrmInfoEvent to Java layer.
Although DrmInfoEvent has several entries, current implementation
can only convey integer and String. This change enables plugins
uto propagate a hashmap to Java layer. The hashmap can have
one or more Strings and one byte array as value.

Changes are made by Sony Corporation.

bug: 10459159

Change-Id: Ic19265d4ad3db4eda66a3c27e1e08873a8f2a4d7
(cherry picked from commit 4f782bf0cb69929ebf03de239e2c9bf8e82adf5e)
drm/common/DrmInfoEvent.cpp
drm/common/IDrmServiceListener.cpp
include/drm/DrmInfoEvent.h