-
Notifications
You must be signed in to change notification settings - Fork 712
Updated target SDK, migrated to AndroidX, replaced (some) deprecated APIs and refactored code #1058
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
Conversation
Reformatted and rearranged code
The old NavigationView widget was replaced with the new.
Removed some Lint flags that weren't needed any more, as well as replaced some deprecated APIs
Lint tool was complaining because some async methods used the context of an activity directly. Fixed it (or tryed to minimize problems) by doing classes static and by using WeakReferences.
|
I've now tried to fix some potential memory leaks that could happen with the AsyncTasks, it might not be the best approach possible, but at least better than nothing. Also updated code to Java 8 so we can make use of new features like lambda expressions which simplify code a lot. |
|
Notification icon not shown, repository not working and I have this errors in Android 9: |
|
Are you running Android Oreo or newer? That's because starting from Oreo, you need to create notfication channels for notifications. This error must have been happening even before merging this! I could only test this under 7.1.1 and it worked fine. However, let me fix it quickly, I'll create a new pull request ;) |
|
I tested in Android 9 from AVD. In Android 4 icon is displayed.
Yes.. But the repository (Menu - Repository) not working after merging. |
|
Perfect, I've just solved the notification issue, I need to fix the other error and it will be good to go. Can you guide me on how to root the Android 9 AVD so that I can test builds myself? Thanks |
|
How do I get chroot target path?
…On Sat, Feb 23, 2019, 1:03 PM Iscle ***@***.***> wrote:
Perfect, I've just solved the notification issue, I need to fix the other
error and it will be good to go.
Can you guide me on how to root the Android 9 AVD so that I can test
builds myself?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1058 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AhAu02nos39ZvXE2A75RdUTe2-BsmIi6ks5vQYJxgaJpZM4bJL31>
.
|
|
Now I tested without root in AVD. Earlier, I used https://github.com/meefik/avd-root. But it not working today. |
|
Thanks for the fix! :) There is an understanding why the repository (Menu - Repository) does not work? |
|
Works on Nougat but not on Pie... Interesting. I will look into it. |
|
Done :) |
|
Great! A look another error: |

No functionality changes, only updated the target SDK to the latest one, migrated to AndroidX, replaced some of the deprecated APIs and refactored code to make it nicer.
No functionality changes were made.
I haven't updated the version number as I don't know what pattern you are following.