Ejemplo n.º 1
0
        protected override ResultCode AdjustRefcount(int binderId, int addVal, int type)
        {
            IBinder binder = GetBinderObjectById(binderId);

            if (binder == null)
            {
                Logger.PrintError(LogClass.SurfaceFlinger, $"Invalid binder id {binderId}");

                return(ResultCode.Success);
            }

            return(binder.AdjustRefcount(addVal, type));
        }