Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
test_webhook
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时海鑫
test_webhook
Commits
c3ab5e21
Commit
c3ab5e21
authored
Oct 16, 2025
by
时海鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddd
parent
dfde5d3b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
321 additions
and
0 deletions
+321
-0
AbUpdateListener.java
AbUpdateListener.java
+30
-0
AbUpdateManager.java
AbUpdateManager.java
+291
-0
No files found.
AbUpdateListener.java
0 → 100644
View file @
c3ab5e21
//package com.tyw.updatedemo;
//
//
///**
// * A/B升级过程监听器。
// * 用于从核心升级逻辑模块接收状态更新。
// */
//public interface AbUpdateListener {
//
// /**
// * 当升级进度更新时调用。
// *
// * @param progress 整体进度 (0-100)
// * @param message 当前状态的描述信息
// */
// void onProgress(int progress, String message);
//
// /**
// * 当升级包成功应用,需要重启设备时调用。
// */
// void onRebootRequired();
//
// /**
// * 当升级过程发生错误时调用。
// *
// * @param errorCode 错误码,用于区分错误类型
// * @param errorMessage 错误信息
// */
// void onFailure(int errorCode, String errorMessage);
//}
\ No newline at end of file
AbUpdateManager.java
0 → 100644
View file @
c3ab5e21
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment