* commit '91f6aaaf2cb1c1a0cec129cec8038332de0271a8': MediaDrm#mNativeContext is a long, not int.
This commit is contained in:
@@ -491,7 +491,7 @@ static sp<JDrm> setDrm(
|
|||||||
if (old != NULL) {
|
if (old != NULL) {
|
||||||
old->decStrong(thiz);
|
old->decStrong(thiz);
|
||||||
}
|
}
|
||||||
env->SetIntField(thiz, gFields.context, (int)drm.get());
|
env->SetLongField(thiz, gFields.context, reinterpret_cast<jlong>(drm.get()));
|
||||||
|
|
||||||
return old;
|
return old;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user