summaryrefslogtreecommitdiffstats
path: root/drm/1.0
diff options
context:
space:
mode:
authorRahul Frias <rfrias@google.com>2018-01-22 23:32:36 -0800
committerRahul Frias <rfrias@google.com>2018-01-23 13:33:59 -0800
commit173d4fb93b3542633a920c1af09e8951f6ef7042 (patch)
tree75a055ba911b699332b69d82b88fba1395db206a /drm/1.0
parente6a8a00fc2702f5a2ea7781c16b3bd381d9cf0a5 (diff)
downloadandroid_hardware_interfaces-173d4fb93b3542633a920c1af09e8951f6ef7042.tar.gz
android_hardware_interfaces-173d4fb93b3542633a920c1af09e8951f6ef7042.tar.bz2
android_hardware_interfaces-173d4fb93b3542633a920c1af09e8951f6ef7042.zip
Add new values to KeyRequestType
Two additional KeyRequestTypes have been added, None and Update. None indicates that no key request is needed as keys have already been loaded. Update indicates that while keys have previously been loaded, an additional (non-renewal) license request is needed. Bug: 70335058 Test: make Change-Id: I43b7491110871332c3a79573773c441c2a4f5ccb
Diffstat (limited to 'drm/1.0')
-rw-r--r--drm/1.0/default/DrmPlugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/drm/1.0/default/DrmPlugin.cpp b/drm/1.0/default/DrmPlugin.cpp
index 1695ef772..809f694f1 100644
--- a/drm/1.0/default/DrmPlugin.cpp
+++ b/drm/1.0/default/DrmPlugin.cpp
@@ -93,6 +93,7 @@ namespace implementation {
requestType = KeyRequestType::RELEASE;
break;
case android::DrmPlugin::kKeyRequestType_Unknown:
+ default:
requestType = KeyRequestType::UNKNOWN;
break;
}