Fix FATAL EXCEPTION when Widevine Classic libraries are not found on device.
On device that does not support Widevince Classic playback, display a Toast pop up to inform users. This prevents a FATAL EXCEPTION from occuring when acquireDrmInfo() returns a null response in the absence of Widevine Classic libs. To test this mode, rename libwvdrm_L?.so in system/vendor/lib and reboot. bug: 28964035 Change-Id: Ib47d4b3419a6395d402c1b78f3cdc8472b0d6946
This commit is contained in:
@@ -19,4 +19,5 @@
|
||||
<string name="drm_server">Drm Server</string>
|
||||
<string name="portal_id">Portal Name</string>
|
||||
<string name="update_button">Update Button</string>
|
||||
<string name="no_classic">This device does not support Widevine classic playback."</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user