-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
make k9mail build in aosp tree #5
Conversation
As a note, we can't even consider a pull request that changes K-9's icon to the android stock icon |
I didn't intent pull-requesting this commit, only the two others. Sorry, I'm new to github :) removing the line would maybe be also an option, aosp complained that "" needs to be localized. |
K-9 Mail doesn't build outside the AOSP tree with the "missing methods" patch. Any idea on how to make this work? |
Thank you for looking into this and trying to merge the request :) I'm afraid I never build k9 outside the AOSP with the patches enabled. Didn't think that there would be any problems, since it's basically some methods that just return false when called... What are the error messages? |
It's mostly the Override annotations (which are not that much of a problem). But "mCursor.abortUpdates();" in MonitoredCursor.abortUpdates() fails to compile because CrossProcessCursor.abortUpdates() is undefined in the SDK. |
I only implemented those methods because aosp complained not having them, they are not supposed to alter k9mail in any way. I took mCursor.abortUpdates() because in the original methods of k9 i found similar implementations of other methods (just forwarding them to mCursor.name() ), so i did the same. Does it complain if you just return instead of doing anything? That may be an option. |
have a look at the last 3 commits in the 3.8-MAINT branch: it compiles (and works) now in AOSP tree, as well as using "ant debug". I didn't open a new pull request, because I dunno how to only select the last 3 commits, whithout the stock icon patch :) |
On Thu, May 05, 2011 at 06:39:30AM -0700, kechagia wrote:
You need to create a new branch for your pull request. Also, please don't supply commits on maintenance branches, instead branch from master. Thanks! |
ok thank you. I updated this pull request, using the master branch. i only tested the patch with android-10 sdk, aosp 2.3.4 and 3.8-MAINT, though. |
Make K-9 Mail build in AOSP source tree
Applicable for strings not intended for user consumption. A %d string format code can generate eastern-arabic numerals for users with an arabic locale. V/k9 (20763): conn1103774136>>> 5 UID SEARCH ٦٤٦:٦٧٠ NOT DELETED V/k9 (20763): conn1103774136<<<thunderbird#5# [BAD, Invalid Search criteria] E/k9 (20763): synchronizeMailbox E/k9 (20763): com.fsck.k9.mail.store.ImapStore$ImapException: Command: UID SEARCH ٦٤٦:٦٧٠ NOT DELETED; response: thunderbird#5# [BAD, Invalid Search criteria]
added some testcases for MimeMessage parsing + some simple refactorings (2)
this enables me building k9 directly in my custom rom aosp tree.. few string localizations and a few empty methods.