mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
Get K-9 building on Java 1.5 again
This commit is contained in:
parent
b47ee0b492
commit
88e6c59e7e
@ -193,7 +193,7 @@
|
|||||||
|
|
||||||
<!-- Compile this project's .java files into .class files. -->
|
<!-- Compile this project's .java files into .class files. -->
|
||||||
<target name="compile" depends="resource-src, aidl">
|
<target name="compile" depends="resource-src, aidl">
|
||||||
<javac encoding="ascii" target="1.6" debug="true" extdirs=""
|
<javac encoding="ascii" target="1.5" debug="true" extdirs=""
|
||||||
destdir="${out-classes}"
|
destdir="${out-classes}"
|
||||||
bootclasspathref="android.target.classpath">
|
bootclasspathref="android.target.classpath">
|
||||||
<src path="${source-folder}" />
|
<src path="${source-folder}" />
|
||||||
|
@ -1558,7 +1558,6 @@ public class MessagingController implements Runnable
|
|||||||
|
|
||||||
localFolder.purgeToVisibleLimit(new MessageRemovalListener()
|
localFolder.purgeToVisibleLimit(new MessageRemovalListener()
|
||||||
{
|
{
|
||||||
@Override
|
|
||||||
public void messageRemoved(Message message)
|
public void messageRemoved(Message message)
|
||||||
{
|
{
|
||||||
for (MessagingListener l : getListeners())
|
for (MessagingListener l : getListeners())
|
||||||
|
@ -350,7 +350,6 @@ public class MessageList
|
|||||||
context.startActivity(intent);
|
context.startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onItemClick(AdapterView parent, View v, int position, long id)
|
public void onItemClick(AdapterView parent, View v, int position, long id)
|
||||||
{
|
{
|
||||||
if ((position+1) == (mAdapter.getCount()))
|
if ((position+1) == (mAdapter.getCount()))
|
||||||
@ -2114,7 +2113,6 @@ public class MessageList
|
|||||||
public CheckBox selected;
|
public CheckBox selected;
|
||||||
public int position = -1;
|
public int position = -1;
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
||||||
{
|
{
|
||||||
if (position!=-1)
|
if (position!=-1)
|
||||||
@ -2240,7 +2238,6 @@ public class MessageList
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onClick(View v)
|
public void onClick(View v)
|
||||||
{
|
{
|
||||||
boolean newState = false;
|
boolean newState = false;
|
||||||
|
@ -2826,7 +2826,6 @@ public class ImapStore extends Store
|
|||||||
mReceiver = receiver;
|
mReceiver = receiver;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void start(List<String> folderNames)
|
public void start(List<String> folderNames)
|
||||||
{
|
{
|
||||||
stop();
|
stop();
|
||||||
@ -2845,7 +2844,6 @@ public class ImapStore extends Store
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void refresh()
|
public void refresh()
|
||||||
{
|
{
|
||||||
synchronized(folderPushers)
|
synchronized(folderPushers)
|
||||||
@ -2864,7 +2862,6 @@ public class ImapStore extends Store
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void stop()
|
public void stop()
|
||||||
{
|
{
|
||||||
Log.i(Email.LOG_TAG, "Requested stop of IMAP pusher");
|
Log.i(Email.LOG_TAG, "Requested stop of IMAP pusher");
|
||||||
|
Loading…
Reference in New Issue
Block a user