1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 09:08:49 -05:00

set context before using it

This commit is contained in:
Marcus Wolschon 2010-08-18 14:13:37 +00:00
parent 0b62640eac
commit 726b472330
3 changed files with 10 additions and 3 deletions

View File

@ -258,10 +258,10 @@
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
<!-- <activity
android:name="com.fsck.k9.AccessibleEmailContentActivity"
>
</activity>
</activity>-->
<receiver android:name="com.fsck.k9.service.BootReceiver"
android:enabled="true"

View File

@ -437,11 +437,11 @@ public class MessageList
@Override
public void onCreate(Bundle savedInstanceState)
{
context=this;
super.onCreate(savedInstanceState);
mInflater = getLayoutInflater();
initializeLayout();
onNewIntent(getIntent());
context=this;
}
@Override

View File

@ -163,5 +163,12 @@ public class MimeHeader
this.name = name;
this.value = value;
}
public String toString()
{
StringBuilder sb = new StringBuilder("(");
sb.append(name).append('=').append(value).append(')');
return sb.toString();
}
}
}