master
陈玉爱 2 months ago
commit 97f65013e1

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

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

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

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

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

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

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