Skip to content

feat: Init appCtx in FullBackupAgent - #867

Merged
LouisCAD merged 1 commit into
mainfrom
init-appctx-in-fullbackup-agent
Sep 29, 2026
Merged

LouisCAD merged 1 commit into
mainfrom
init-appctx-in-fullbackup-agent

Conversation

@LouisCAD

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings September 29, 2026 07:18
@LouisCAD
LouisCAD enabled auto-merge September 29, 2026 07:18
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused lifecycle change safely preserves an existing initialized context and introduces no unresolved issues.

Review effort: Balanced
Findings: None

What changed in this PR

Initializes Splitties’ global application context when Android creates FullBackupAgent before normal application initialization.

Changes:

  • Adds a @CallSuper lifecycle override that conditionally injects appCtx.
File Description
Common/​src/​main/​kotlin/​com/​infomaniak/​core/​common/​backup/​FullBackupAgent.kt Initializes appCtx during backup-agent context attachment.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@LouisCAD
LouisCAD merged commit fcd46fe into main Sep 29, 2026
11 checks passed
@LouisCAD
LouisCAD deleted the init-appctx-in-fullbackup-agent branch September 29, 2026 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants