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
19 lines
546 B
C++
19 lines
546 B
C++
// Copyright 2013 Google Inc. All Rights Reserved.
|
|
|
|
// For platform specific test vectors
|
|
|
|
#include <string>
|
|
|
|
namespace wvcdm {
|
|
namespace test_vectors {
|
|
|
|
// for FileStore unit tests
|
|
static const std::string kExistentFile = "/system/bin/sh";
|
|
static const std::string kExistentDir = "/system/bin";
|
|
static const std::string kNonExistentFile = "/system/bin/enoext";
|
|
static const std::string kNonExistentDir = "/system/bin_enoext";
|
|
static const std::string kTestDir = "/data/vendor/mediadrm/IDM0/";
|
|
|
|
} // namespace test_vectors
|
|
} // namespace wvcdm
|