commit | e82f055e3eb1b0b3daf87bc14258fa65568b4f8a | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Thu Feb 23 15:01:46 2012 -0800 |
committer | James Dong <jdong@google.com> | Fri Feb 24 15:50:41 2012 -0800 |
tree | 7df4c2eea446d74f44ea3f8f67db58eac5cf8959 | |
parent | 2d77b5332ac4ef5b252fbd8f56a195e0fce03292 [diff] |
Only allow valid types to be used in DrmErrorEvent and DrmInfoEvent o This patch will prevent applications from abusing the API by using arbitrary int value for DrmErrorEvent or DrmInfoEvent types. o We should have not defined some type constants in the super/base class, DrmEvent. Change-Id: Id0bb12caa8ce471cb6951cc2b5d37ea408f90063