master
陈玉爱 2 months ago
commit 97f65013e1

@ -30,6 +30,7 @@ import java.util.HashMap;
* *
* 2.Android, * 2.Android,
* *
*
*/ */
public class Contact { public class Contact {
private static HashMap<String, String> sContactCache; private static HashMap<String, String> sContactCache;

@ -29,6 +29,7 @@ public class Notes {
* {@link Notes#ID_ROOT_FOLDER } is default folder * {@link Notes#ID_ROOT_FOLDER } is default folder
* {@link Notes#ID_TEMPARAY_FOLDER } is for notes belonging no folder * {@link Notes#ID_TEMPARAY_FOLDER } is for notes belonging no folder
* {@link Notes#ID_CALL_RECORD_FOLDER} is to store call records * {@link Notes#ID_CALL_RECORD_FOLDER} is to store call records
*
*/ */
public static final int ID_ROOT_FOLDER = 0; public static final int ID_ROOT_FOLDER = 0;
public static final int ID_TEMPARAY_FOLDER = -1; public static final int ID_TEMPARAY_FOLDER = -1;

@ -571,6 +571,7 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
* Gtask IDGoogle * Gtask IDGoogle
* *
* 3 * 3
*
*/ */
private void upgradeToV3(SQLiteDatabase db) { private void upgradeToV3(SQLiteDatabase db) {
// drop unused triggers // drop unused triggers

@ -373,6 +373,7 @@ public class NotesProvider extends ContentProvider {
* *
* *
* *
*
*/ */
private void increaseNoteVersion(long id, String selection, String[] selectionArgs) { private void increaseNoteVersion(long id, String selection, String[] selectionArgs) {
StringBuilder sql = new StringBuilder(120); StringBuilder sql = new StringBuilder(120);

@ -174,6 +174,7 @@ public class SqlData {
* SqlDataJSON * SqlDataJSON
* *
* *
*
*/ */
public JSONObject getContent() throws JSONException { public JSONObject getContent() throws JSONException {
if (mIsCreate) { if (mIsCreate) {
@ -202,6 +203,7 @@ public class SqlData {
* *
* *
* *
*
*/ */
public void commit(long noteId, boolean validateVersion, long version) { public void commit(long noteId, boolean validateVersion, long version) {

@ -592,6 +592,7 @@ public class SqlNote {
/** /**
* 1.get/set * 1.get/set
*
*/ */
public void setParentId(long id) { public void setParentId(long id) {
mParentId = id; mParentId = id;
@ -634,6 +635,7 @@ public class SqlNote {
* 5. * - ID * 5. * - ID
* *
* *
*
*/ */
public void commit(boolean validateVersion) { public void commit(boolean validateVersion) {
if (mIsCreate) { if (mIsCreate) {

@ -63,7 +63,7 @@
</style> </style>
<style name="NoteActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid"> <style name="NoteActionBarStyle" parent="@android:style/Widget.Holo.Light.ActionBar.Solid">
<item name="android:displayOptions" /> <!-- <item name="android:displayOptions" />-->
<item name="android:visibility">gone</item> <item name="android:visibility">visible</item>
</style> </style>
</resources> </resources>
Loading…
Cancel
Save