mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
set context before using it
This commit is contained in:
parent
0b62640eac
commit
726b472330
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user