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

Android: Optimize imports #9067

Merged
merged 2 commits into from Sep 8, 2020
Merged

Android: Optimize imports #9067

merged 2 commits into from Sep 8, 2020

Conversation

Ebola16
Copy link
Member

@Ebola16 Ebola16 commented Sep 7, 2020

This changed more imports than I expected so let's see what the buildbot thinks about this.

@JosJuice
Copy link
Member

JosJuice commented Sep 7, 2020

Not that I really mind the change, but why is this titled "optimize"?

@Ebola16
Copy link
Member Author

Ebola16 commented Sep 7, 2020

I ran the "Optimize Imports" feature of Android Studio.

@JosJuice
Copy link
Member

JosJuice commented Sep 7, 2020

I suppose its main effect is to remove unused imports, but it so happens that most of what it did to Dolphin's codebase was to reorder androidx imports...?

Maybe we could update Dolphin's coding style (Source/Android/code-style-java.xml) to put androidx right below android? https://stackoverflow.com/questions/62839554/android-studio-reformat-code-optimize-imports-order-not-working-properly/62844115#62844115

@Ebola16
Copy link
Member Author

Ebola16 commented Sep 8, 2020

Like this?

@lioncash lioncash merged commit 67761c7 into dolphin-emu:master Sep 8, 2020
10 checks passed
@Ebola16 Ebola16 deleted the Fixes4 branch September 8, 2020 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants