Various minor fixes - targeting SDK 10, fix typo, and change algo for isIntroTask

pull/14/head
Tim Su 14 years ago
parent 67ef6ffd00
commit a8ff585a7d

@ -140,7 +140,7 @@ public final class Task extends AbstractModel {
/** whether repeat occurs relative to completion date instead of due date */
public static final int FLAG_REPEAT_AFTER_COMPLETION = 1 << 1;
/** whether task is readonly */
/** whether task is read-only */
public static final int FLAG_IS_READONLY = 1 << 2;
// --- notification flags

@ -52,7 +52,7 @@
<!-- ========================================================== Metadata = -->
<uses-sdk android:targetSdkVersion="8"
<uses-sdk android:targetSdkVersion="10"
android:minSdkVersion="4" />
<supports-screens />

@ -844,7 +844,7 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
}
private boolean isIntroTask(Task task) {
if(activity.getString(R.string.intro_click_prompt).equals(task.getValue(Task.DETAILS)))
if(task.getId() <= 3)
return true;
return false;
}

Loading…
Cancel
Save