Skip to content

Conversation

@brosssh
Copy link
Member

@brosssh brosssh commented May 22, 2025

  • Added getSdkVersion to JadbDevice
  • Made public InstallOption init (so custom string options can be passed, such as "--update-ownership")

- Added `getSdkVersion` to `JadbDevice`
- Made public `InstallOption` init (so custom string options can be passed, such as "--update-ownership")
@brosssh
Copy link
Member Author

brosssh commented May 22, 2025

Not sure if pom.xml is automatically bumped or it's manual here.

Copy link
Member

@oSumAtrIX oSumAtrIX left a comment

Choose a reason for hiding this comment

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

Instead of publicizing the constructor, simply add a new puböic final InstallOption field like it is done below.

@oSumAtrIX
Copy link
Member

Pom needs to be bumped manually. You can set it to 1.2.1.1

@oSumAtrIX
Copy link
Member

This PR should be upstreamed, open it in upstream as well once its merged here.

@brosssh
Copy link
Member Author

brosssh commented May 22, 2025

Why? Making the constructor public adds versability to this library, else every time we want to add a new flag we have to add it like this..

Instead of publicizing the constructor, simply add a new puböic final InstallOption field like it is done below.

@oSumAtrIX
Copy link
Member

Because the PR is supposed to add support for add ownership not change the initial design of the class. I don't know why it was private, but there quite surely is a reason this PR is not supposed to address.

@brosssh brosssh requested a review from oSumAtrIX May 22, 2025 13:26
brosssh added a commit to brosssh/revanced-library that referenced this pull request May 22, 2025
@brosssh brosssh requested a review from oSumAtrIX May 22, 2025 14:20
@oSumAtrIX oSumAtrIX changed the title feat: Added support for updating app ownership feat: Add option to update app ownership May 26, 2025
@oSumAtrIX oSumAtrIX merged commit 53d8e8c into ReVanced:master May 26, 2025
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.

2 participants