* commit '14424043b9c20edf639004e05fe8e9264a2e66f5': Update ViewRootImpl for 64bit functor type.
This commit is contained in:
@@ -656,7 +656,7 @@ public final class ViewRootImpl implements ViewParent,
|
||||
mHandler.sendMessageAtFrontOfQueue(mHandler.obtainMessage(MSG_FLUSH_LAYER_UPDATES));
|
||||
}
|
||||
|
||||
public boolean attachFunctor(int functor) {
|
||||
public boolean attachFunctor(long functor) {
|
||||
//noinspection SimplifiableIfStatement
|
||||
if (mAttachInfo.mHardwareRenderer != null && mAttachInfo.mHardwareRenderer.isEnabled()) {
|
||||
return mAttachInfo.mHardwareRenderer.attachFunctor(mAttachInfo, functor);
|
||||
@@ -664,7 +664,7 @@ public final class ViewRootImpl implements ViewParent,
|
||||
return false;
|
||||
}
|
||||
|
||||
public void detachFunctor(int functor) {
|
||||
public void detachFunctor(long functor) {
|
||||
if (mAttachInfo.mHardwareRenderer != null) {
|
||||
mAttachInfo.mHardwareRenderer.detachFunctor(functor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user