-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Simplify some sharing utilities #8064
Conversation
Kudos, SonarCloud Quality Gate passed! |
Sorry, but I will probably close this PR. Let me explain why: you are reverting my share sheet improvements on EMUI devices, which allow these devices to get the preview title (and soon the thumbnail of the content) of the content shared by using Android system chooser instead of EMUI chooser. See #5187 (the PR which introduced the changes) for the difference. I know that's something we didn't have to do if Huawei (and also other OEMs) didn't change this, but as you can see, improvements when using the Android share sheet are pretty big in terms of information shown to the user. Hope you can understand. |
@TiA4f8R Is the Huawei-specific code marked as such? Or do you have a comment somewhere which explains why that code shouldn't be touched? |
But yeah I understand, I didn't even know that was intentional (I guess I should've looked at the git blame though). Perhaps some code commenting is in order (as @opusforlife2 noted)? (Also @TiA4f8R did you install the debug build and see if this PR actually did screw up the share sheet (seeing as you have an EMUI device)? I'd check, just in case. If you already did, then alrighty. 👍) |
@TacoTheDank I did and the Android share sheet is still shown when sharing a content (for an unknown reason). But the EMUI one is back when using the |
What is special about EMUI? Does |
Yes, see my comment above:
(where the Android one is |
Anyway I think we can close this or? (@TiA4f8R you should maybe create a new PR where you add a few comments/javadoc to the above lines) |
I'll close it. |
What is it?
Description of the changes in your PR
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence