fa6fbd16b624da6b63b996204888368612d37ff7
[ Merge of http://go/wvgerrit/187610 ] [ Partial cherry-pick of http://ag/25096962 ] The removeOfflineLicense() API in the Media DRM plug would attempt to remove the specified license from L1, then retry L3 if L1 failed for any reason. This causes error emitted by L1 to be masked by errors emitted from L3. In particular, if an internal error occurs on L1 when removing the license, because the plugin would then try L3 which does not contain the license, the app will receive either a "does not exist" or "needs provisioning" error from L3. This CL changes the plugin to first determines which security level the license exists for. Then only attempts removal on that security level. Bug: 301910628 Bug: 291181955 Bug: 296300842 Bug: 302612540 Test: MediaDrmParameterizedTests GTS on oriole Change-Id: I5fbb6805e598650f9b384a3b0e8d67f1c2a0f78d
Description
No description provided