Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Apktool Dummys. #3258

Merged
merged 2 commits into from Aug 9, 2023
Merged

Remove Apktool Dummys. #3258

merged 2 commits into from Aug 9, 2023

Conversation

iBotPeaches
Copy link
Owner

First requested by @MrIkso a few years ago in #2463. It was recently broken a few releases back during the sparse resource fixes.

No one really noticed that these were missing and it turns out in a variety of tests - you don't really need them. All they do is bloat codebase, bloat application and unneeded. I may be proven wrong quickly after the removal of this, but since it actually hasn't been working in a year - I think its fair to say no one needs this.

@iBotPeaches iBotPeaches marked this pull request as ready for review August 9, 2023 00:54
@iBotPeaches iBotPeaches merged commit 0e22692 into master Aug 9, 2023
31 checks passed
@iBotPeaches iBotPeaches deleted the remove-dummys branch August 9, 2023 10:15
iBotPeaches added a commit that referenced this pull request Sep 3, 2023
iBotPeaches added a commit that referenced this pull request Sep 4, 2023
iBotPeaches added a commit that referenced this pull request Sep 9, 2023
* Revert "Remove Apktool Dummys. (#3258)"

This reverts commit 0e22692.

* feat: properly add dummys

* refactor: shorten ResTypeSpec

* style: remove extra space

* refactor: extract FlagItem into own class

* refactor: notate which type is null

* fix: only add dummys if enabled

* feat: skip unknown (if enabled)

* feat: introduce "res-mode"

* feat: expose config on res table

* feat: add method to base attr for res skips

* fix: ensure autobuild doesn't choke

* refactor: remove java17 enhanced switch

* refactor: rename methods

* refactor: cleanup res-mode param

* test: introduction of test/sample apk

* refactor: make ResXmlPatcher public for loading XML

* test: assertions for dummy|leave|retain

* fix: prevent using `@null` as a name

* refactor: shorten long param for 'resm'

* refactor: leave for preserve
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.

None yet

1 participant