首页 > 其他 > 详细

AOSP patch

时间:2021-04-30 15:04:17      阅读:29      评论:0      收藏:0      [点我收藏+]

1 update_engine\payload_consumer/delta_performer.h:193:  // |*cbytes_p| and decreases |*count_p| by the actual number of bytes copied,

// Appends up to |*count_p| bytes from |*bytes_p| to |buffer_|, but only to
// the extent that the size of |buffer_| does not exceed |max|. Advances
// |*cbytes_p| and decreases |*count_p| by the actual number of bytes copied,
// and returns this number.
size_t CopyDataToBuffer(const char** bytes_p, size_t* count_p, size_t max);

patch: cbytes_p -> bytes_p

 

2 update_engine\common\action_processor.cc

void ActionProcessor::ActionComplete(AbstractAction* actionptr,
ErrorCode code) {

  current_action_->ActionCompleted(code); 

patch:  \\  current_action_->ActionCompleted(code); 

AOSP patch

原文:https://www.cnblogs.com/codeking100/p/14721113.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!