Move persistent data to /data/vendor.

Widevine persistent data is stored in /data/mediadrm, HALs
are not allowed to access files in /data. Move persistent
data to /data/vendor/mediadrm/widevine for older devices,
and persistent data will not be saved under /data/vendor.

Test: Play Movies & Tv, Netflix

bug: 36601695
Change-Id: I31fdd43b7db327bf6d8343dc95e9883ae6bce70d
This commit is contained in:
Edwin Wong
2017-12-01 16:44:53 -08:00
parent 58fe9fd1fe
commit 59fcc20138
5 changed files with 54 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
namespace {
const char kBasePathPrefix[] = "/data/mediadrm/IDM";
const char kBasePathPrefix[] = "/data/vendor/mediadrm/IDM";
const char kL1Dir[] = "/L1/";
const char kL2Dir[] = "/L2/";
const char kL3Dir[] = "/L3/";