Merge branch 'master' into issue549
Conflicts: res/menu/accounts_context.xml res/menu/accounts_option.xml res/values/strings.xml src/com/fsck/k9/Account.java src/com/fsck/k9/activity/Accounts.java src/com/fsck/k9/activity/AsyncUIProcessor.java src/com/fsck/k9/activity/FolderList.java src/com/fsck/k9/activity/ImportListener.java src/com/fsck/k9/activity/K9Activity.java src/com/fsck/k9/activity/K9ListActivity.java src/com/fsck/k9/activity/MessageView.java src/com/fsck/k9/mail/store/ImapStore.java src/com/fsck/k9/mail/store/Pop3Store.java src/com/fsck/k9/mail/store/WebDavStore.java src/com/fsck/k9/mail/transport/SmtpTransport.java
@ -8,7 +8,5 @@
|
||||
<classpathentry kind="lib" path="libs/commons-io-2.0.1.jar"/>
|
||||
<classpathentry kind="lib" path="libs/jzlib-1.0.7.jar"/>
|
||||
<classpathentry kind="lib" path="libs/jutf7-1.0.1-SNAPSHOT.jar"/>
|
||||
<classpathentry kind="lib" path="compile-only-libs/commons-codec-1.3.jar"/>
|
||||
<classpathentry kind="lib" path="compile-only-libs/commons-logging-1.1.1.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
local.properties
|
||||
bin
|
||||
gen
|
||||
.settings
|
||||
*~
|
23
Android.mk
@ -1,10 +1,33 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += libcore
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += libdom
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += libio
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += libjutf
|
||||
LOCAL_STATIC_JAVA_LIBRARIES += libjzlib
|
||||
|
||||
LOCAL_MODULE_TAGS := eng
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
||||
|
||||
LOCAL_SDK_VERSION := current
|
||||
|
||||
LOCAL_PACKAGE_NAME := Email
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
##################################################
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libcore:libs/apache-mime4j-core-0.7-SNAPSHOT.jar
|
||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libdom:libs/apache-mime4j-dom-0.7-SNAPSHOT.jar
|
||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libio:libs/commons-io-2.0.1.jar
|
||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjutf:libs/jutf7-1.0.1-SNAPSHOT.jar
|
||||
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjzlib:libs/jzlib-1.0.7.jar
|
||||
|
||||
include $(BUILD_MULTI_PREBUILT)
|
||||
|
||||
|
||||
# Use the folloing include to make our test apk.
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:versionCode="13007"
|
||||
android:versionName="3.706" package="com.fsck.k9"
|
||||
android:versionCode="14007"
|
||||
android:versionName="3.907" package="com.fsck.k9"
|
||||
>
|
||||
<uses-sdk
|
||||
android:minSdkVersion="3"
|
||||
android:targetSdkVersion="4"
|
||||
android:minSdkVersion="7"
|
||||
android:targetSdkVersion="7"
|
||||
/>
|
||||
<supports-screens
|
||||
android:largeScreens="true"
|
||||
@ -18,10 +18,6 @@
|
||||
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
||||
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
|
||||
|
||||
<!-- Needed to get the owner name which is used when the first mail account is created -->
|
||||
<uses-permission android:name="android.permission.READ_OWNER_DATA"/>
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
|
||||
|
||||
<!-- Needed to mark a contact as contacted -->
|
||||
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
||||
|
||||
@ -30,6 +26,10 @@
|
||||
<uses-permission android:name="android.permission.VIBRATE"/>
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
<!-- In order to properly manage the BACK key, we do some check on the running tasks -->
|
||||
<uses-permission android:name="android.permission.GET_TASKS" />
|
||||
|
||||
<uses-permission android:name="org.thialfihar.android.apg.permission.READ_KEY_DETAILS" />
|
||||
|
||||
<permission android:name="com.fsck.k9.permission.READ_ATTACHMENT"
|
||||
@ -67,7 +67,7 @@
|
||||
|
||||
<activity
|
||||
android:name="com.fsck.k9.activity.Accounts"
|
||||
android:launchMode="singleTask"
|
||||
android:launchMode="singleInstance"
|
||||
android:configChanges="locale"
|
||||
android:label="@string/app_name">
|
||||
<intent-filter>
|
||||
@ -87,6 +87,9 @@
|
||||
android:name="com.fsck.k9.activity.setup.Prefs"
|
||||
android:label="@string/prefs_title"
|
||||
android:configChanges="locale"
|
||||
android:taskAffinity="com.fsck.k9.activity.setup.Prefs"
|
||||
android:launchMode="singleTask"
|
||||
android:excludeFromRecents="true"
|
||||
>
|
||||
</activity>
|
||||
<activity
|
||||
@ -142,6 +145,7 @@
|
||||
android:theme="@style/Theme.K9Dialog"
|
||||
android:label="@string/choose_folder_title"
|
||||
android:configChanges="locale"
|
||||
android:noHistory="true"
|
||||
>
|
||||
</activity>
|
||||
<activity
|
||||
@ -203,7 +207,7 @@
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.fsck.k9.activity.MessageList"
|
||||
android:launchMode="singleTask"
|
||||
android:launchMode="singleInstance"
|
||||
android:configChanges="locale"
|
||||
>
|
||||
</activity>
|
||||
@ -275,10 +279,6 @@
|
||||
android:name="com.fsck.k9.activity.AccessibleEmailContentActivity"
|
||||
>
|
||||
</activity>
|
||||
<activity
|
||||
android:name="com.fsck.k9.activity.ImportSettingsActivity"
|
||||
>
|
||||
</activity>
|
||||
|
||||
<receiver android:name="com.fsck.k9.service.BootReceiver"
|
||||
android:enabled="true"
|
||||
@ -329,7 +329,7 @@
|
||||
android:enabled="true"
|
||||
>
|
||||
<intent-filter>
|
||||
<!--
|
||||
<!--
|
||||
android.intent.action.MEDIA_MOUNTED
|
||||
|
||||
* Broadcast Action: External media is present and mounted at its mount point.
|
||||
@ -339,9 +339,9 @@ android.intent.action.MEDIA_MOUNTED
|
||||
|
||||
-->
|
||||
<action android:name="android.intent.action.MEDIA_MOUNTED"/>
|
||||
<!--
|
||||
<!--
|
||||
|
||||
MEDIA_EJECT and MEDIA_UNMOUNTED are not defined here: they have to be dynamically registered
|
||||
MEDIA_EJECT and MEDIA_UNMOUNTED are not defined here: they have to be dynamically registered
|
||||
otherwise it would make K-9 start at the wrong time
|
||||
|
||||
-->
|
||||
|
@ -2,7 +2,7 @@
|
||||
<body bgcolor="white">
|
||||
<table width="100%" height="100%">
|
||||
<tr>
|
||||
<td align="center" valign="center">
|
||||
<td align="center" valign="middle">
|
||||
<font color="gray">Downloading...</font>
|
||||
<br/>
|
||||
<br/>
|
||||
|
0
assets/emoticons/24hours.gif
Executable file → Normal file
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
0
assets/emoticons/airplane.gif
Executable file → Normal file
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 130 B |
0
assets/emoticons/angry.gif
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
0
assets/emoticons/annoy.gif
Executable file → Normal file
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 233 B |
0
assets/emoticons/apple.gif
Executable file → Normal file
Before Width: | Height: | Size: 248 B After Width: | Height: | Size: 248 B |
0
assets/emoticons/appli01.gif
Executable file → Normal file
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 132 B |
0
assets/emoticons/appli02.gif
Executable file → Normal file
Before Width: | Height: | Size: 141 B After Width: | Height: | Size: 141 B |
0
assets/emoticons/aquarius.gif
Executable file → Normal file
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 179 B |
0
assets/emoticons/aries.gif
Executable file → Normal file
Before Width: | Height: | Size: 182 B After Width: | Height: | Size: 182 B |
0
assets/emoticons/art.gif
Executable file → Normal file
Before Width: | Height: | Size: 186 B After Width: | Height: | Size: 186 B |
0
assets/emoticons/atm.gif
Executable file → Normal file
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
0
assets/emoticons/bag.gif
Executable file → Normal file
Before Width: | Height: | Size: 154 B After Width: | Height: | Size: 154 B |
0
assets/emoticons/ban.gif
Executable file → Normal file
Before Width: | Height: | Size: 183 B After Width: | Height: | Size: 183 B |
0
assets/emoticons/banana.gif
Executable file → Normal file
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
0
assets/emoticons/bank.gif
Executable file → Normal file
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
0
assets/emoticons/bar.gif
Executable file → Normal file
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
0
assets/emoticons/baseball.gif
Executable file → Normal file
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |
0
assets/emoticons/basketball.gif
Executable file → Normal file
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 271 B |
0
assets/emoticons/bearing.gif
Executable file → Normal file
Before Width: | Height: | Size: 148 B After Width: | Height: | Size: 148 B |
0
assets/emoticons/beer.gif
Executable file → Normal file
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
0
assets/emoticons/bell.gif
Executable file → Normal file
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
0
assets/emoticons/bicycle.gif
Executable file → Normal file
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
0
assets/emoticons/birthday.gif
Executable file → Normal file
Before Width: | Height: | Size: 262 B After Width: | Height: | Size: 262 B |
0
assets/emoticons/bleah.gif
Executable file → Normal file
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 169 B |
0
assets/emoticons/bomb.gif
Executable file → Normal file
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
0
assets/emoticons/book.gif
Executable file → Normal file
Before Width: | Height: | Size: 139 B After Width: | Height: | Size: 139 B |
0
assets/emoticons/bottle.gif
Executable file → Normal file
Before Width: | Height: | Size: 185 B After Width: | Height: | Size: 185 B |
0
assets/emoticons/boutique.gif
Executable file → Normal file
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 163 B |
0
assets/emoticons/bread.gif
Executable file → Normal file
Before Width: | Height: | Size: 252 B After Width: | Height: | Size: 252 B |
0
assets/emoticons/bud.gif
Executable file → Normal file
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
0
assets/emoticons/building.gif
Executable file → Normal file
Before Width: | Height: | Size: 160 B After Width: | Height: | Size: 160 B |
0
assets/emoticons/bullettrain.gif
Executable file → Normal file
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
0
assets/emoticons/bus.gif
Executable file → Normal file
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
0
assets/emoticons/by-d.gif
Executable file → Normal file
Before Width: | Height: | Size: 124 B After Width: | Height: | Size: 124 B |
0
assets/emoticons/cafe.gif
Executable file → Normal file
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
0
assets/emoticons/cake.gif
Executable file → Normal file
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
0
assets/emoticons/camera.gif
Executable file → Normal file
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
0
assets/emoticons/cancer.gif
Executable file → Normal file
Before Width: | Height: | Size: 153 B After Width: | Height: | Size: 153 B |
0
assets/emoticons/capricornus.gif
Executable file → Normal file
Before Width: | Height: | Size: 177 B After Width: | Height: | Size: 177 B |
0
assets/emoticons/car.gif
Executable file → Normal file
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
0
assets/emoticons/carouselpony.gif
Executable file → Normal file
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 184 B |
0
assets/emoticons/cat.gif
Executable file → Normal file
Before Width: | Height: | Size: 175 B After Width: | Height: | Size: 175 B |
0
assets/emoticons/catface.gif
Executable file → Normal file
Before Width: | Height: | Size: 82 B After Width: | Height: | Size: 82 B |
0
assets/emoticons/cd.gif
Executable file → Normal file
Before Width: | Height: | Size: 194 B After Width: | Height: | Size: 194 B |
0
assets/emoticons/chair.gif
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
0
assets/emoticons/cherry.gif
Executable file → Normal file
Before Width: | Height: | Size: 169 B After Width: | Height: | Size: 169 B |
0
assets/emoticons/cherryblossom.gif
Executable file → Normal file
Before Width: | Height: | Size: 187 B After Width: | Height: | Size: 187 B |
0
assets/emoticons/chick.gif
Executable file → Normal file
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
0
assets/emoticons/clear.gif
Executable file → Normal file
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 171 B |
0
assets/emoticons/clip.gif
Executable file → Normal file
Before Width: | Height: | Size: 133 B After Width: | Height: | Size: 133 B |
0
assets/emoticons/clock.gif
Executable file → Normal file
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
0
assets/emoticons/cloud.gif
Executable file → Normal file
Before Width: | Height: | Size: 242 B After Width: | Height: | Size: 242 B |
0
assets/emoticons/clover.gif
Executable file → Normal file
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 144 B |
0
assets/emoticons/club.gif
Executable file → Normal file
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 132 B |
0
assets/emoticons/coldsweats01.gif
Executable file → Normal file
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
0
assets/emoticons/coldsweats02.gif
Executable file → Normal file
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 222 B |
0
assets/emoticons/confident.gif
Executable file → Normal file
Before Width: | Height: | Size: 83 B After Width: | Height: | Size: 83 B |
0
assets/emoticons/copyright.gif
Executable file → Normal file
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
0
assets/emoticons/crown.gif
Executable file → Normal file
Before Width: | Height: | Size: 181 B After Width: | Height: | Size: 181 B |
0
assets/emoticons/crying.gif
Executable file → Normal file
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 233 B |
0
assets/emoticons/cute.gif
Executable file → Normal file
Before Width: | Height: | Size: 127 B After Width: | Height: | Size: 127 B |
0
assets/emoticons/d-point.gif
Executable file → Normal file
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 132 B |
0
assets/emoticons/danger.gif
Executable file → Normal file
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
0
assets/emoticons/dash.gif
Executable file → Normal file
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 130 B |
0
assets/emoticons/delicious.gif
Executable file → Normal file
Before Width: | Height: | Size: 131 B After Width: | Height: | Size: 131 B |
0
assets/emoticons/denim.gif
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
0
assets/emoticons/despair.gif
Executable file → Normal file
Before Width: | Height: | Size: 140 B After Width: | Height: | Size: 140 B |
0
assets/emoticons/diamond.gif
Executable file → Normal file
Before Width: | Height: | Size: 119 B After Width: | Height: | Size: 119 B |
0
assets/emoticons/dog.gif
Executable file → Normal file
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 137 B |
0
assets/emoticons/dollar.gif
Executable file → Normal file
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
0
assets/emoticons/door.gif
Executable file → Normal file
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
0
assets/emoticons/down.gif
Executable file → Normal file
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
0
assets/emoticons/downwardleft.gif
Executable file → Normal file
Before Width: | Height: | Size: 109 B After Width: | Height: | Size: 109 B |
0
assets/emoticons/downwardright.gif
Executable file → Normal file
Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 108 B |
0
assets/emoticons/drama.gif
Executable file → Normal file
Before Width: | Height: | Size: 168 B After Width: | Height: | Size: 168 B |
0
assets/emoticons/ear.gif
Executable file → Normal file
Before Width: | Height: | Size: 104 B After Width: | Height: | Size: 104 B |
0
assets/emoticons/eight.gif
Executable file → Normal file
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
0
assets/emoticons/empty.gif
Executable file → Normal file
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
0
assets/emoticons/end.gif
Executable file → Normal file
Before Width: | Height: | Size: 111 B After Width: | Height: | Size: 111 B |
0
assets/emoticons/enter.gif
Executable file → Normal file
Before Width: | Height: | Size: 126 B After Width: | Height: | Size: 126 B |
0
assets/emoticons/event.gif
Executable file → Normal file
Before Width: | Height: | Size: 167 B After Width: | Height: | Size: 167 B |
0
assets/emoticons/eye.gif
Executable file → Normal file
Before Width: | Height: | Size: 125 B After Width: | Height: | Size: 125 B |
0
assets/emoticons/eyeglass.gif
Executable file → Normal file
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 132 B |
0
assets/emoticons/fastfood.gif
Executable file → Normal file
Before Width: | Height: | Size: 243 B After Width: | Height: | Size: 243 B |
0
assets/emoticons/faxto.gif
Executable file → Normal file
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
0
assets/emoticons/fish.gif
Executable file → Normal file
Before Width: | Height: | Size: 172 B After Width: | Height: | Size: 172 B |
0
assets/emoticons/five.gif
Executable file → Normal file
Before Width: | Height: | Size: 173 B After Width: | Height: | Size: 173 B |
0
assets/emoticons/flag.gif
Executable file → Normal file
Before Width: | Height: | Size: 145 B After Width: | Height: | Size: 145 B |
0
assets/emoticons/flair.gif
Executable file → Normal file
Before Width: | Height: | Size: 223 B After Width: | Height: | Size: 223 B |
0
assets/emoticons/foot.gif
Executable file → Normal file
Before Width: | Height: | Size: 94 B After Width: | Height: | Size: 94 B |
0
assets/emoticons/four.gif
Executable file → Normal file
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
0
assets/emoticons/free.gif
Executable file → Normal file
Before Width: | Height: | Size: 110 B After Width: | Height: | Size: 110 B |
0
assets/emoticons/freedial.gif
Executable file → Normal file
Before Width: | Height: | Size: 130 B After Width: | Height: | Size: 130 B |
0
assets/emoticons/fuji.gif
Executable file → Normal file
Before Width: | Height: | Size: 246 B After Width: | Height: | Size: 246 B |
0
assets/emoticons/full.gif
Executable file → Normal file
Before Width: | Height: | Size: 171 B After Width: | Height: | Size: 171 B |