diff options
author | Takeshi Aimi <aimitakeshi@gmail.com> | 2010-11-30 16:27:42 +0900 |
---|---|---|
committer | Takeshi Aimi <aimitakeshi@gmail.com> | 2010-11-30 16:27:42 +0900 |
commit | f05913aaa0cc96eab32be3431de1a80d405527a1 (patch) | |
tree | 808fc1b7a3fd2bdb3e88723fe4d4f457d1217f8f /include | |
parent | f0f6c54b13831b11bd7a3bd7a01dc49b7505e56e (diff) | |
download | frameworks_base-f05913aaa0cc96eab32be3431de1a80d405527a1.zip frameworks_base-f05913aaa0cc96eab32be3431de1a80d405527a1.tar.gz frameworks_base-f05913aaa0cc96eab32be3431de1a80d405527a1.tar.bz2 |
DRM Framework bug fixes.
- Make sure to clean-up obsolete listeners.
- Close cursor after using it.
- Add virtual destructor to the base class of OnInfoListener.
Changes are made by SEMC and Sony.
Change-Id: Ibb6dd625ef48e3597188f0d7c90f9d4c780b6139
Diffstat (limited to 'include')
-rw-r--r-- | include/drm/DrmManagerClient.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/DrmManagerClient.h b/include/drm/DrmManagerClient.h index 3dbfbe2..004556f 100644 --- a/include/drm/DrmManagerClient.h +++ b/include/drm/DrmManagerClient.h @@ -49,6 +49,9 @@ public: class OnInfoListener: virtual public RefBase { public: + virtual ~OnInfoListener() {} + + public: virtual void onInfo(const DrmInfoEvent& event) = 0; }; |