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

pull/14/head
Tim Su 15 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 */ /** whether repeat occurs relative to completion date instead of due date */
public static final int FLAG_REPEAT_AFTER_COMPLETION = 1 << 1; 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; public static final int FLAG_IS_READONLY = 1 << 2;
// --- notification flags // --- notification flags

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

@ -844,7 +844,7 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
} }
private boolean isIntroTask(Task task) { 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 true;
return false; return false;
} }

Loading…
Cancel
Save