The loop extracted keys from `remodeUidMap` and then called
`remouteUidMap.get(...)` for every key. If both the key and the value
needs to be iterated on, `Map.entrySet()` is a more efficient solution
as it doesn't require O(n) Map lookups.
The (undocumented) method WebView.setEmbeddedTitleBar() was removed in
Android 4.1 which caused the message header to never be displayed.
This fallback is only a temporary fix. We really need to come up with a
solution that feels like the previous (setEmbeddedTitleBar) behavior.
build.xml and tests/build.xml:
updated general format to match what is generated in a new project.
moved targets common to both to build_common.xml.
replaced some exec calls (perl, mv) and inline javascript with ant tasks (including extensions from Android and ant-contrib).
build.xml:
fixed indentation.
privatized targets that don't need to be called directly from command-line.
renamed some properties.
tests/build.xml:
renamed test project from K9 to K9Tests.
tools/ant-contrib.jar:
new!
.gitignore:
added note about local per-repo rules.
.gitignore:
added files created by new targets.
build.xml:
removed targets install and reinstall.
modified target help to depend on android_rules.help and only explain targets defined here.
updated target javadoc.
added targets lint-xml, lint-html, and monkey.
added private target -pre-clean to remove files created by new targets.
tests/AndroidManifest.xml:
updated note on running the tests.
tests/ant.properties:
removed test.runner as target test is now overridden.
tests/build.xml:
removed target test-report as it is now integrated with overridden target test.
overrode target test to disable deleting coverage.em and use the new test runner.
overrode target help to depend on android_rules.help and only explain targets defined here.
added targets javadoc, lint-xml, lint-html, and artifacts.
added private target -pre-clean to remove files created by new targets.
tests/clean-tests.sh:
new sh script to run through all the tests.