diff --git a/src/.gradle/6.1.1/executionHistory/executionHistory.bin b/src/.gradle/6.1.1/executionHistory/executionHistory.bin
index 0b7fbbb..b4e5297 100644
Binary files a/src/.gradle/6.1.1/executionHistory/executionHistory.bin and b/src/.gradle/6.1.1/executionHistory/executionHistory.bin differ
diff --git a/src/.gradle/6.1.1/executionHistory/executionHistory.lock b/src/.gradle/6.1.1/executionHistory/executionHistory.lock
index 6402340..99e64aa 100644
Binary files a/src/.gradle/6.1.1/executionHistory/executionHistory.lock and b/src/.gradle/6.1.1/executionHistory/executionHistory.lock differ
diff --git a/src/.gradle/6.1.1/fileHashes/fileHashes.bin b/src/.gradle/6.1.1/fileHashes/fileHashes.bin
index 830bb08..10a34c7 100644
Binary files a/src/.gradle/6.1.1/fileHashes/fileHashes.bin and b/src/.gradle/6.1.1/fileHashes/fileHashes.bin differ
diff --git a/src/.gradle/6.1.1/fileHashes/fileHashes.lock b/src/.gradle/6.1.1/fileHashes/fileHashes.lock
index 7245ba5..fd67717 100644
Binary files a/src/.gradle/6.1.1/fileHashes/fileHashes.lock and b/src/.gradle/6.1.1/fileHashes/fileHashes.lock differ
diff --git a/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin b/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin
index 366c442..6598e59 100644
Binary files a/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin and b/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin differ
diff --git a/src/.gradle/6.1.1/javaCompile/classAnalysis.bin b/src/.gradle/6.1.1/javaCompile/classAnalysis.bin
index be19ac6..dc02d16 100644
Binary files a/src/.gradle/6.1.1/javaCompile/classAnalysis.bin and b/src/.gradle/6.1.1/javaCompile/classAnalysis.bin differ
diff --git a/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin b/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin
index 25d6838..f438168 100644
Binary files a/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin and b/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin differ
diff --git a/src/.gradle/6.1.1/javaCompile/javaCompile.lock b/src/.gradle/6.1.1/javaCompile/javaCompile.lock
index cffa620..68e61e9 100644
Binary files a/src/.gradle/6.1.1/javaCompile/javaCompile.lock and b/src/.gradle/6.1.1/javaCompile/javaCompile.lock differ
diff --git a/src/.gradle/6.1.1/javaCompile/taskHistory.bin b/src/.gradle/6.1.1/javaCompile/taskHistory.bin
index 1c93c03..23bf2b9 100644
Binary files a/src/.gradle/6.1.1/javaCompile/taskHistory.bin and b/src/.gradle/6.1.1/javaCompile/taskHistory.bin differ
diff --git a/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock
index 5311925..4f8d742 100644
Binary files a/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ
diff --git a/src/.idea/dbnavigator.xml b/src/.idea/dbnavigator.xml
index 631358c..248e19a 100644
--- a/src/.idea/dbnavigator.xml
+++ b/src/.idea/dbnavigator.xml
@@ -23,15 +23,11 @@
-
-
-
-
-
+
- select * from data
+
diff --git a/src/.idea/modules/app/app.iml b/src/.idea/modules/app/app.iml
index 8b5736e..9fd6e93 100644
--- a/src/.idea/modules/app/app.iml
+++ b/src/.idea/modules/app/app.iml
@@ -31,13 +31,13 @@
-
-
+
+
-
-
+
+
diff --git a/src/.idea/sonarlint/issuestore/0/2/023468cfdd0b71d4098903b9070e364658e2fbcf b/src/.idea/sonarlint/issuestore/0/2/023468cfdd0b71d4098903b9070e364658e2fbcf
index 597a623..73d7bcc 100644
--- a/src/.idea/sonarlint/issuestore/0/2/023468cfdd0b71d4098903b9070e364658e2fbcf
+++ b/src/.idea/sonarlint/issuestore/0/2/023468cfdd0b71d4098903b9070e364658e2fbcf
@@ -2,40 +2,40 @@
AXU2uyAIv5u6atPUJJj9
java:S3008""eRename this field "GTASK_SYNC_NOTIFICATION_ID" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
+h
+AXU2uyAIv5u6atPUJJkF
+java:S1874E"0Remove this use of "defaults"; it is deprecated.(8.
+s
+AXU2uyAIv5u6atPUJJkG java:S125Q"").(8ș.
+s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8П.
+s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ȋ8¸.
^ java:S125"").(Ȫ8.
AXU2ux-Mv5u6atPUJJi7
java:S2293u"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-a
+`
AXU2ux-Mv5u6atPUJJi9
-java:S1125"(Remove the literal "true" boolean value.(ɯ8.
-
-AXU2ux-Mv5u6atPUJJix
-java:S1319"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(8.
-g
+java:S1125w"(Remove the literal "true" boolean value.(ɯ8.
+
+AXU2ux-Mv5u6atPUJJiw
+java:S1319t"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(8.
+c
+AXU2ux-Mv5u6atPUJJiz
+java:S5411"*Use the primitive boolean expression here.(ɯ8.
+h
+AXU2ux-Mv5u6atPUJJi5
+java:S1874;"5Remove this use of "CursorAdapter"; it is deprecated.(8.
+h
AXU2ux-Mv5u6atPUJJi8
-java:S2864v"4Iterate over the "entrySet" instead of the "keySet".(8.
+java:S2864"4Iterate over the "entrySet" instead of the "keySet".(8.
+a
+AXU2ux-Nv5u6atPUJJjA
+java:S1125"(Remove the literal "true" boolean value.(ɯ8.
+
+AXU2ux-Mv5u6atPUJJi6
+java:S2293<"YReplace the type specification in this constructor call with the diamond operator ("<>").(ə8.
AXU2ux-Mv5u6atPUJJi2
java:S11042"TMake widgetId a static final constant or non-public and provide accessors if needed.(ǎ8.
b
-AXU2ux-Mv5u6atPUJJiz
-java:S5411w"*Use the primitive boolean expression here.(ɯ8.
-c
AXU2ux-Mv5u6atPUJJi0
-java:S5411"*Use the primitive boolean expression here.(ɯ8.
-
-AXU2ux-Mv5u6atPUJJi6
-java:S2293<"YReplace the type specification in this constructor call with the diamond operator ("<>").(ə8.
-
-AXU2ux-Mv5u6atPUJJi-
-java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ȫ8.
-
-AXU2ux-Mv5u6atPUJJi3
-java:S11043"VMake widgetType a static final constant or non-public and provide accessors if needed.(漬8.
-
-AXU2ux-Mv5u6atPUJJiw
-java:S1319t"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(8.
-`
-AXU2ux-Nv5u6atPUJJjA
-java:S1125w"(Remove the literal "true" boolean value.(ɯ8.
-h
+java:S5411w"*Use the primitive boolean expression here.(ɯ8.
+
+AXU2ux-Mv5u6atPUJJix
+java:S1319"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(8.
+g
+AXU2ux-Mv5u6atPUJJiy
+java:S1066m"/Merge this if statement with the enclosing one.(ڧ8.
+g
AXU2ux-Mv5u6atPUJJi_
-java:S2864"4Iterate over the "entrySet" instead of the "keySet".(8.
+java:S2864v"4Iterate over the "entrySet" instead of the "keySet".(8.
_
AXU2ux-Nv5u6atPUJJjB
java:S1168"+Return an empty collection instead of null.(8.
-h
-AXU2ux-Mv5u6atPUJJi5
-java:S1874;"5Remove this use of "CursorAdapter"; it is deprecated.(8.
a
AXU2ux-Nv5u6atPUJJjC
java:S1125"(Remove the literal "true" boolean value.(8.
diff --git a/src/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798 b/src/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798
index 9aa8c14..c4b9336 100644
--- a/src/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798
+++ b/src/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798
@@ -1,21 +1,17 @@
-
-AXU2ux8Hv5u6atPUJJhp
-java:S3923P"]This conditional operation returns the same value whether the condition is "true" or "false".(8.
-e
-AXU2ux8Hv5u6atPUJJho
-java:S1874>"2Remove this use of "setButton2"; it is deprecated.(8.
-m
-AXU2ux8Hv5u6atPUJJhq
-java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(8.
i
AXU2ux8Hv5u6atPUJJhn
java:S1874="1Remove this use of "setButton"; it is deprecated.(8.
-m
-AXU2ux8Hv5u6atPUJJhr
-java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(8.
+
+AXU2ux8Hv5u6atPUJJhm java:S100("NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
AXU2ux8Hv5u6atPUJJhl
java:S1128"TRemove this unnecessary import: same package classes are always implicitly imported.(8.
-
-AXU2ux8Hv5u6atPUJJhm java:S100("NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
\ No newline at end of file
+e
+AXU2ux8Hv5u6atPUJJho
+java:S1874>"2Remove this use of "setButton2"; it is deprecated.(8.
+g
+AXU2ux8Hv5u6atPUJJhq
+java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(ח$8.
+Q
+java:S1874P"5Remove this use of "FORMAT_12HOUR"; it is deprecated.(ח$8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/2/d/2dae9e201211336406ea62ae1a884241b0a8d3e6 b/src/.idea/sonarlint/issuestore/2/d/2dae9e201211336406ea62ae1a884241b0a8d3e6
index ef9c986..7d2e61e 100644
--- a/src/.idea/sonarlint/issuestore/2/d/2dae9e201211336406ea62ae1a884241b0a8d3e6
+++ b/src/.idea/sonarlint/issuestore/2/d/2dae9e201211336406ea62ae1a884241b0a8d3e6
@@ -1,27 +1,25 @@
-k java:S117&"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(햌
-e java:S117("QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
-e java:S117%"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(P
-D
-java:S1125+")Remove the literal "false" boolean value.(ڂ
-H
-java:S1128"-Remove this unused import 'android.util.Log'.(Ԧز
[
-java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ң
+java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ң
+k java:S117%"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
>
-java:S1125)"(Remove the literal "true" boolean value.(줗
+java:S1125("(Remove the literal "true" boolean value.(줗
>
-java:S1125)"(Remove the literal "true" boolean value.(줗
-M
-java:S25892"7Remove this expression which always evaluates to "true"(嚹
-?
-java:S1125.")Remove the literal "false" boolean value.(
+java:S11251"(Remove the literal "true" boolean value.(嚹
>
-java:S1125)"(Remove the literal "true" boolean value.(줗
+java:S1125("(Remove the literal "true" boolean value.(줗
>
-java:S11252"(Remove the literal "true" boolean value.(嚹
+java:S11251"(Remove the literal "true" boolean value.(嚹
+?
+java:S1125-")Remove the literal "false" boolean value.(
+e java:S117'"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+M
+java:S25891"7Remove this expression which always evaluates to "true"(嚹
M
-java:S25892"7Remove this expression which always evaluates to "true"(嚹
-f java:S117$"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(
+java:S25891"7Remove this expression which always evaluates to "true"(嚹
+D
+java:S1125*")Remove the literal "false" boolean value.(ڂ
>
-java:S11252"(Remove the literal "true" boolean value.(嚹
\ No newline at end of file
+java:S1125("(Remove the literal "true" boolean value.(줗
+f java:S117$"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(̍
+r java:S117#"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 b/src/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56
index f054243..7f7a755 100644
--- a/src/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56
+++ b/src/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56
@@ -1,52 +1,52 @@
-
-AXU2uyCVv5u6atPUJJl7
-java:S1192D"GDefine a constant instead of duplicating this literal "%s: %s" 4 times.(8.
-q
-AXU2uyCVv5u6atPUJJl9
-java:S1155-">Use isEmpty() to check whether the collection is empty or not.(8.
+x
+AXU2uyCVv5u6atPUJJmC
+java:S2147l"ECombine this catch with the one at line 106, which has the same body.(暩8.
+
+AXU2uyCVv5u6atPUJJmG
+java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".(ʹ8.
AXU2uyCVv5u6atPUJJmE
java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".(8.
+
+AXU2uyCUv5u6atPUJJl3
+java:S1319("kThe type of the "ids" object should be an interface such as "Set" rather than the implementation "HashSet".(8.
r
AXU2uyCVv5u6atPUJJl-
java:S1118&":Add a private constructor to hide the implicit public one.(8.
+
+AXU2uyCVv5u6atPUJJmD
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ª8.
AXU2uyCVv5u6atPUJJl_
java:S22932"YReplace the type specification in this constructor call with the diamond operator ("<>").(л8.
-
-AXU2uyCVv5u6atPUJJmB
-java:S2293Z"YReplace the type specification in this constructor call with the diamond operator ("<>").(л8.
-
-AXU2uyCVv5u6atPUJJl6
-java:S1192x"HDefine a constant instead of duplicating this literal "=? AND " 4 times.(8.
AXU2uyCVv5u6atPUJJl5
java:S1319"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(8.
+
+AXU2uyCVv5u6atPUJJl6
+java:S1192x"HDefine a constant instead of duplicating this literal "=? AND " 4 times.(8.
g
AXU2uyCVv5u6atPUJJl8
java:S1066~"/Merge this if statement with the enclosing one.(䲜8.
-w
-AXU2uyCVv5u6atPUJJmA
-java:S2147E"DCombine this catch with the one at line 67, which has the same body.(暩8.
-x
-AXU2uyCVv5u6atPUJJmC
-java:S2147l"ECombine this catch with the one at line 106, which has the same body.(暩8.
+
+AXU2uyCVv5u6atPUJJmB
+java:S2293Z"YReplace the type specification in this constructor call with the diamond operator ("<>").(л8.
AXU2uyCVv5u6atPUJJmH
java:S3252"QUse static access with "net.micode.notes.data.Notes$DataColumns" for "MIME_TYPE".(8.
-
-AXU2uyCUv5u6atPUJJl3
-java:S1319("kThe type of the "ids" object should be an interface such as "Set" rather than the implementation "HashSet".(8.
+q
+AXU2uyCVv5u6atPUJJl9
+java:S1155-">Use isEmpty() to check whether the collection is empty or not.(8.
AXU2uyCVv5u6atPUJJl4
java:S1319S"kThe type of the "ids" object should be an interface such as "Set" rather than the implementation "HashSet".(8.
+w
+AXU2uyCVv5u6atPUJJmA
+java:S2147E"DCombine this catch with the one at line 67, which has the same body.(暩8.
AXU2uyCVv5u6atPUJJmF
java:S3252"QUse static access with "net.micode.notes.data.Notes$DataColumns" for "MIME_TYPE".(8.
-
-AXU2uyCVv5u6atPUJJmD
-java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ª8.
-
-AXU2uyCVv5u6atPUJJmG
-java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".(ʹ8.
\ No newline at end of file
+
+AXU2uyCVv5u6atPUJJl7
+java:S1192D"GDefine a constant instead of duplicating this literal "%s: %s" 4 times.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 b/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710
index c4b5d8d..5e7dd50 100644
--- a/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710
+++ b/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710
@@ -1,43 +1,43 @@
+j
+AXU2ux9Qv5u6atPUJJiH
+java:S1135l"2Complete the task associated to this TODO comment.(̐8.
+x
+AXU2ux9Pv5u6atPUJJiE
+java:S2147q"ECombine this catch with the one at line 107, which has the same body.(8.
+w
+AXU2ux9Pv5u6atPUJJh-
+java:S1874="?Remove this use of "FLAG_LAYOUT_INSET_DECOR"; it is deprecated.(8.
+j
+AXU2ux9Qv5u6atPUJJiL
+java:S1135r"2Complete the task associated to this TODO comment.(̐8.
l
AXU2ux9Pv5u6atPUJJiB
java:S1874b":Remove this use of "setAudioStreamType"; it is deprecated.(08.
-x
-AXU2ux9Qv5u6atPUJJiF
-java:S2147t"ECombine this catch with the one at line 107, which has the same body.(ﭣ8.
+r
+AXU2ux9Pv5u6atPUJJiC
+java:S1874d":Remove this use of "setAudioStreamType"; it is deprecated.(Ũ8.
+}
+AXU2ux9Pv5u6atPUJJiD
+java:S2147n"ECombine this catch with the one at line 107, which has the same body.(8.
j
-AXU2ux9Qv5u6atPUJJiN
-java:S1135u"2Complete the task associated to this TODO comment.(̐8.
+AXU2ux9Qv5u6atPUJJiJ
+java:S1135o"2Complete the task associated to this TODO comment.(̐8.
AXU2ux9Pv5u6atPUJJh7
java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(۫8.
x
-AXU2ux9Pv5u6atPUJJiE
-java:S2147q"ECombine this catch with the one at line 107, which has the same body.(8.
-}
-AXU2ux9Pv5u6atPUJJiD
-java:S2147n"ECombine this catch with the one at line 107, which has the same body.(8.
-e
-AXU2ux9Pv5u6atPUJJiA
-java:S1874X"2Remove this use of "isScreenOn"; it is deprecated.(8.
+AXU2ux9Qv5u6atPUJJiF
+java:S2147t"ECombine this catch with the one at line 107, which has the same body.(ﭣ8.
u
AXU2ux9Pv5u6atPUJJh8
java:S18747"=Remove this use of "FLAG_SHOW_WHEN_LOCKED"; it is deprecated.(8.
-r
-AXU2ux9Pv5u6atPUJJiC
-java:S1874d":Remove this use of "setAudioStreamType"; it is deprecated.(Ũ8.
+e
+AXU2ux9Pv5u6atPUJJiA
+java:S1874X"2Remove this use of "isScreenOn"; it is deprecated.(8.
j
-AXU2ux9Qv5u6atPUJJiJ
-java:S1135o"2Complete the task associated to this TODO comment.(̐8.
+AXU2ux9Qv5u6atPUJJiN
+java:S1135u"2Complete the task associated to this TODO comment.(̐8.
n
AXU2ux9Pv5u6atPUJJh9
-java:S1874;";Remove this use of "FLAG_TURN_SCREEN_ON"; it is deprecated.(8.
-w
-AXU2ux9Pv5u6atPUJJh-
-java:S1874="?Remove this use of "FLAG_LAYOUT_INSET_DECOR"; it is deprecated.(8.
-j
-AXU2ux9Qv5u6atPUJJiL
-java:S1135r"2Complete the task associated to this TODO comment.(̐8.
-j
-AXU2ux9Qv5u6atPUJJiH
-java:S1135l"2Complete the task associated to this TODO comment.(̐8.
\ No newline at end of file
+java:S1874;";Remove this use of "FLAG_TURN_SCREEN_ON"; it is deprecated.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312 b/src/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312
index 327b5da..479e2e3 100644
--- a/src/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312
+++ b/src/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312
@@ -1,43 +1,43 @@
-u
-AXU2ux_1v5u6atPUJJjk
-java:S1874"").(各8.
-j
-AXU2ux_1v5u6atPUJJjj
-java:S1874"7Remove this use of "BasicHttpParams"; it is deprecated.(ŋE8.
+~
+AXU2ux_1v5u6atPUJJjg
+java:S2184w"FCast one of the operands of this multiplication operation to a "long".(⣛8.
+q
+AXU2ux_1v5u6atPUJJjh
+java:S1874K"9Remove this use of "DefaultHttpClient"; it is deprecated.(믥8.
+m
+AXU2ux_1v5u6atPUJJjm
+java:S1874"4Remove this use of "setSoTimeout"; it is deprecated.(ٵ8.
u
-AXU2ux_1v5u6atPUJJjl
+AXU2ux_1v5u6atPUJJjk
java:S1874"").(8.
{
AXU2ux9Av5u6atPUJJh5
java:S1126"BReplace this if-then-else statement by a single method invocation.(忥8.
+
+AXU2ux9Av5u6atPUJJh2
+java:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
j
AXU2ux9Av5u6atPUJJh3
java:S1135c"2Complete the task associated to this TODO comment.(8.
-Y
-AXU2ux9Av5u6atPUJJh4 java:S131h""Add a default case to this switch.(8.
m
AXU2ux9Av5u6atPUJJh6
java:S2864"4Iterate over the "entrySet" instead of the "keySet".(Κ8.
AXU2ux9Av5u6atPUJJh1
-java:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(8.
\ No newline at end of file
+java:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(8.
+Y
+AXU2ux9Av5u6atPUJJh4 java:S131h""Add a default case to this switch.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c b/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
index 7ebc1cd..0600ca5 100644
--- a/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
+++ b/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
@@ -1,104 +1,119 @@
+p java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
+w
+AXU2ux93v5u6atPUJJim
+java:S1874"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(8.
+t
+java:S3457"Q%n should be used in place of \n to produce the platform-specific line separator.(Ό8.
+s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
+u
+AXU2ux93v5u6atPUJJik
+java:S1126"AReplace this if-then-else statement by a single return statement.(8.
+s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
+
+AXU2ux93v5u6atPUJJia
+java:S2293s"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+l
+AXU2ux93v5u6atPUJJiT
+java:S3516"9Refactor this method to not always return the same value.(l8.
+
+AXU2ux93v5u6atPUJJip
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8.
+n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
+
+AXU2ux93v5u6atPUJJiY
+java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(8.
+k
+java:S3252"MUse static access with "android.text.Spanned" for "SPAN_EXCLUSIVE_EXCLUSIVE".(8.
+l
+AXU2ux93v5u6atPUJJig
+java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.((8.
+k java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ş8.
AXU2ux93v5u6atPUJJiU
java:S1104a"VMake tvModified a static final constant or non-public and provide accessors if needed.(ԣ8.
-\
-java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.(8.
-V
-java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.((8.
-
-AXU2ux93v5u6atPUJJiW
-java:S1104e"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(8.
-t
-java:S3457"Q%n should be used in place of \n to produce the platform-specific line separator.(Ό8.
-^ java:S125"").(8.
-s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
-n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
-W
-java:S1874"9Remove this use of "PreferenceManager"; it is deprecated.(8.
-s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
-w
-java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8.
-R
-java:S2864"4Iterate over the "entrySet" instead of the "keySet".(ԇ8.
-t
-java:S2095"QUse try-with-resources or close this "NotesDatabaseHelper" in a "finally" clause.(Ü8.
-[
-java:S1874 "=Remove this use of "EXTRA_SHORTCUT_INTENT"; it is deprecated.(ð8.
-
-AXU2ux93v5u6atPUJJiZ
-java:S2293j"YReplace the type specification in this constructor call with the diamond operator ("<>").(ӏ8.
-?
-java:S1116"Remove this empty statement.(8.
+b
+java:S1128R"@Remove this unused import 'net.micode.notes.data.NotesProvider'.(鱢8.
+d
+AXU2ux94v5u6atPUJJiq
+java:S1874"0Remove this use of "getColor"; it is deprecated.(8.
+q
+AXU2ux94v5u6atPUJJit
+java:S1874"=Remove this use of "EXTRA_SHORTCUT_INTENT"; it is deprecated.(ð8.
AXU2ux93v5u6atPUJJiV
java:S1104c"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(න8.
-
-AXU2ux93v5u6atPUJJiY
-java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(8.
o
AXU2ux94v5u6atPUJJiu
-java:S1874 ";Remove this use of "EXTRA_SHORTCUT_NAME"; it is deprecated.(8.
+java:S1874";Remove this use of "EXTRA_SHORTCUT_NAME"; it is deprecated.(8.
+Y
+java:S1128/"7Remove this unused import 'android.text.style.URLSpan'.(8ܦ.
+t
+AXU2ux93v5u6atPUJJie
+java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ8.
+m
+AXU2ux93v5u6atPUJJin
+java:S1874"9Remove this use of "PreferenceManager"; it is deprecated.(8.
AXU2ux93v5u6atPUJJic
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-_
-java:S1126"AReplace this if-then-else statement by a single return statement.(8.
-b
-java:S1874 "DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(Ǿ8.
X
java:S1128Y"6Remove this unused import 'java.util.logging.Handler'.(8.
-
-AXU2ux93v5u6atPUJJia
-java:S2293s"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-U java:S106"9Replace this use of System.out or System.err by a logger.(ӳ$8.
-\
-java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.(8.
+e
+java:S1128""CRemove this unused import 'android.database.sqlite.SQLiteDatabase'.(8Ը.
^ java:S125"").(8.
+
+AXU2ux93v5u6atPUJJiW
+java:S1104e"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(8.
+[
+java:S1128&"?Remove this unused import 'android.support.annotation.NonNull'.(8ܦ.
+
+AXU2ux94v5u6atPUJJir
+java:S3252"MUse static access with "android.text.Spanned" for "SPAN_INCLUSIVE_EXCLUSIVE".(8.
+s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(͊8.
+r
+AXU2ux94v5u6atPUJJis
+java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.(8.
;
java:S1128S"Remove this duplicated import.(8.
-t
-AXU2ux93v5u6atPUJJie
-java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ8.
-k
-java:S3252"MUse static access with "android.text.Spanned" for "SPAN_INCLUSIVE_EXCLUSIVE".(8.
+h
+AXU2ux93v5u6atPUJJih
+java:S2864"4Iterate over the "entrySet" instead of the "keySet".(ԇ8.
+x
+AXU2ux94v5u6atPUJJiv
+java:S1874"DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(Ǿ8.
+U
+AXU2ux93v5u6atPUJJij
+java:S1116"Remove this empty statement.(8.
+
+AXU2ux93v5u6atPUJJiX
+java:S1104g"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(8.
y
AXU2ux93v5u6atPUJJif
java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ң8.
-Y java:S125"").(ӏ8.
+t
+java:S2095"QUse try-with-resources or close this "NotesDatabaseHelper" in a "finally" clause.(Ü8.
+R
+java:S1874"/Remove this use of "setText"; it is deprecated.(8.
+r
+AXU2ux93v5u6atPUJJio
+java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/5/d/5dfe6902d8ec740690f88d644e74362c3be08fad b/src/.idea/sonarlint/issuestore/5/d/5dfe6902d8ec740690f88d644e74362c3be08fad
index 2b7dbab..9f61177 100644
--- a/src/.idea/sonarlint/issuestore/5/d/5dfe6902d8ec740690f88d644e74362c3be08fad
+++ b/src/.idea/sonarlint/issuestore/5/d/5dfe6902d8ec740690f88d644e74362c3be08fad
@@ -1,15 +1,15 @@
-l
-AXU2ux8ov5u6atPUJJhu
-java:S1874a"9Remove this use of "setTextAppearance"; it is deprecated.(8.
AXU2ux8nv5u6atPUJJht
java:S3776B"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(8.
l
-AXU2ux8ov5u6atPUJJhw
-java:S1874N"9Remove this use of "setTextAppearance"; it is deprecated.(8.
-l
AXU2ux8ov5u6atPUJJhv
java:S1874U"9Remove this use of "setTextAppearance"; it is deprecated.(8.
+l
+AXU2ux8ov5u6atPUJJhu
+java:S1874N"9Remove this use of "setTextAppearance"; it is deprecated.(8.
+l
+AXU2ux8ov5u6atPUJJhw
+java:S1874a"9Remove this use of "setTextAppearance"; it is deprecated.(8.
O
java:S1128"-Remove this unused import 'android.util.Log'.(Ԧز8˩.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/6/7/67def85328d91007d9c01c410f35fe30f09e547a b/src/.idea/sonarlint/issuestore/6/7/67def85328d91007d9c01c410f35fe30f09e547a
index 3f081eb..d0d5b1b 100644
--- a/src/.idea/sonarlint/issuestore/6/7/67def85328d91007d9c01c410f35fe30f09e547a
+++ b/src/.idea/sonarlint/issuestore/6/7/67def85328d91007d9c01c410f35fe30f09e547a
@@ -1,11 +1,11 @@
-w java:S116"VRename this field "lg_password" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ǝ8.
t java:S116"SRename this field "lg_login" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
K
java:S1125,")Remove the literal "false" boolean value.(8.
+w java:S116"VRename this field "lg_password" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ǝ8.
+m java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Қܤ8ʆ.
T
java:S1128"8Remove this unused import 'net.micode.notes.data.Notes'.(םz8.
-m java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Қܤ8ʆ.
]
java:S1874$"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ8.
J
diff --git a/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5 b/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5
index 577767c..88e57e9 100644
--- a/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5
+++ b/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5
@@ -1,27 +1,27 @@
-q
-AXU2uyC1v5u6atPUJJme
-java:S2130"8Use "Long.parseLong" for this string-to-long conversion.(8.
-k
-AXU2uyC1v5u6atPUJJmf
-java:S1135"2Complete the task associated to this TODO comment.(8.
-
-AXU2uyC1v5u6atPUJJmb java:S128r"LEnd this switch case with an unconditional break, return or throw statement.(彴8.
-j
-AXU2uyC1v5u6atPUJJmZ
-java:S1153"1Directly append the argument of String.valueOf().(ߦ8.
-]
-AXU2uyC1v5u6atPUJJmc
-java:S1659"$Declare "noteId" on a separate line.(ؘ8.
AXU2uyC1v5u6atPUJJmX
java:S1192"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(8.
+j
+AXU2uyC1v5u6atPUJJmZ
+java:S1153"1Directly append the argument of String.valueOf().(ߦ8.
e
AXU2uyC1v5u6atPUJJmY
java:S1199s"-Extract this nested code block into a method.(8.
+]
+AXU2uyC1v5u6atPUJJmc
+java:S1659"$Declare "noteId" on a separate line.(ؘ8.
+
+AXU2uyC1v5u6atPUJJmb java:S128r"LEnd this switch case with an unconditional break, return or throw statement.(彴8.
+k
+AXU2uyC1v5u6atPUJJmf
+java:S1135"2Complete the task associated to this TODO comment.(8.
AXU2uyC1v5u6atPUJJma
java:S3008M"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8.
+q
+AXU2uyC1v5u6atPUJJme
+java:S2130"8Use "Long.parseLong" for this string-to-long conversion.(8.
a
AXU2uyC1v5u6atPUJJmd
java:S1659"(Declare "insertedId" on a separate line.(ؘ8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 b/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236
index 7423c18..dda921c 100644
--- a/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236
+++ b/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236
@@ -1,16 +1,16 @@
-c
-AXU2uyDqv5u6atPUJJm3
-java:S1066"/Merge this if statement with the enclosing one.(8.
-P
-AXU2uyDqv5u6atPUJJm4
-java:S2386A"Make this member "protected".(8.
U
AXU2uyDqv5u6atPUJJm5
java:S2386K"Make this member "protected".(㳎8.
u
AXU2uyDqv5u6atPUJJm6
-java:S1126"AReplace this if-then-else statement by a single return statement.(8.
+java:S1126"AReplace this if-then-else statement by a single return statement.(8.
+c
+AXU2uyDqv5u6atPUJJm3
+java:S1066"/Merge this if statement with the enclosing one.(8.
\
AXU2uyDqv5u6atPUJJm7
-java:S1125"(Remove the literal "true" boolean value.(8.
\ No newline at end of file
+java:S1125"(Remove the literal "true" boolean value.(8.
+P
+AXU2uyDqv5u6atPUJJm4
+java:S2386A"Make this member "protected".(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/9/3/934a4e2abf19d28a53f6aeb1dcd99248c44b6892 b/src/.idea/sonarlint/issuestore/9/3/934a4e2abf19d28a53f6aeb1dcd99248c44b6892
index cdc798d..ea105e8 100644
--- a/src/.idea/sonarlint/issuestore/9/3/934a4e2abf19d28a53f6aeb1dcd99248c44b6892
+++ b/src/.idea/sonarlint/issuestore/9/3/934a4e2abf19d28a53f6aeb1dcd99248c44b6892
@@ -1,7 +1,7 @@
-
-AXU2uyBXv5u6atPUJJkz
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(8.
O
AXU2uyBXv5u6atPUJJky
-java:S2386+"Make this member "protected".(X8.
\ No newline at end of file
+java:S2386+"Make this member "protected".(X8.
+
+AXU2uyBXv5u6atPUJJkz
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/9/a/9a3a19793537958b8b1b03a81985999e22705a2f b/src/.idea/sonarlint/issuestore/9/a/9a3a19793537958b8b1b03a81985999e22705a2f
index 2c278b6..2835249 100644
--- a/src/.idea/sonarlint/issuestore/9/a/9a3a19793537958b8b1b03a81985999e22705a2f
+++ b/src/.idea/sonarlint/issuestore/9/a/9a3a19793537958b8b1b03a81985999e22705a2f
@@ -1,16 +1,16 @@
-m
-AXU2uyDOv5u6atPUJJmm
-java:S1118":Add a private constructor to hide the implicit public one.(8.
AXU2uyDOv5u6atPUJJmo
java:S3252""\Use static access with "android.provider.ContactsContract$DataColumns" for "RAW_CONTACT_ID".(8.
-
-AXU2uyDOv5u6atPUJJmp
-java:S2293)"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+m
+AXU2uyDOv5u6atPUJJmm
+java:S1118":Add a private constructor to hide the implicit public one.(8.
AXU2uyDOv5u6atPUJJmn
java:S3252!"VUse static access with "android.provider.ContactsContract$DataColumns" for "MIMETYPE".(8.
AXU2uyDOv5u6atPUJJmq
-java:S32524"^Use static access with "android.provider.ContactsContract$ContactsColumns" for "DISPLAY_NAME".(8.
\ No newline at end of file
+java:S32524"^Use static access with "android.provider.ContactsContract$ContactsColumns" for "DISPLAY_NAME".(8.
+
+AXU2uyDOv5u6atPUJJmp
+java:S2293)"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af b/src/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af
index 7c0d6ee..8848c29 100644
--- a/src/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af
+++ b/src/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af
@@ -1,29 +1,28 @@
v
AXU2uyCkv5u6atPUJJmQ
-java:S1874"CRemove this use of "getExternalStorageDirectory"; it is deprecated.(?8.
+java:S1874"CRemove this use of "getExternalStorageDirectory"; it is deprecated.(?8.
y
AXU2uyCkv5u6atPUJJmR
-java:S2147"ECombine this catch with the one at line 334, which has the same body.(ﭣ8.
-\
-AXU2uyCkv5u6atPUJJmW
-java:S3398"#Move this method into "TextExport".(8.
-
-AXU2uyCjv5u6atPUJJmI
-java:S2095"NUse try-with-resources or close this "FileOutputStream" in a "finally" clause.(8.
-y
-AXU2uyCkv5u6atPUJJmM
-java:S2147"ECombine this catch with the one at line 301, which has the same body.(ߝȴ8.
+java:S2147"ECombine this catch with the one at line 335, which has the same body.(ﭣ8.
AXU2uyCkv5u6atPUJJmL
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(8.
+z
+AXU2uyCkv5u6atPUJJmS java:S899"BDo something with the "boolean" value returned by "createNewFile".(А8.
+y
+AXU2uyCkv5u6atPUJJmM
+java:S2147"ECombine this catch with the one at line 302, which has the same body.(ߝȴ8.
V
AXU2uyCkv5u6atPUJJmV
java:S3398H"#Move this method into "TextExport".(8.
-z
-AXU2uyCkv5u6atPUJJmS java:S899"BDo something with the "boolean" value returned by "createNewFile".(А8.
AXU2uyCkv5u6atPUJJmK
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.(8.
+\
+AXU2uyCkv5u6atPUJJmW
+java:S3398"#Move this method into "TextExport".(8.
-AXU2uyCkv5u6atPUJJmJ java:S116w"VRename this field "TEXT_FORMAT" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ћ8.
\ No newline at end of file
+AXU2uyCkv5u6atPUJJmJ java:S116w"VRename this field "TEXT_FORMAT" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ћ8.
+q
+java:S2095"NUse try-with-resources or close this "FileOutputStream" in a "finally" clause.(֎8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 b/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5
index 2a71256..ab9e473 100644
--- a/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5
+++ b/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5
@@ -1,19 +1,19 @@
-{
-AXU2uyDEv5u6atPUJJmi
-java:S1214@"CMove constants defined in this interfaces to another class or enum.(⸫8.
-r
-AXU2uyDEv5u6atPUJJmh
-java:S11181":Add a private constructor to hide the implicit public one.(͓8.
-s
-AXU2uyDEv5u6atPUJJmk
-java:S1118":Add a private constructor to hide the implicit public one.(8.
AXU2uyDEv5u6atPUJJmg
java:S11929"KDefine a constant instead of duplicating this literal "content://" 4 times.(8.
+s
+AXU2uyDEv5u6atPUJJmk
+java:S1118":Add a private constructor to hide the implicit public one.(8.
w
AXU2uyDEv5u6atPUJJmj
java:S1214"CMove constants defined in this interfaces to another class or enum.(8.
n
AXU2uyDEv5u6atPUJJml
-java:S1118":Add a private constructor to hide the implicit public one.(߀8.
\ No newline at end of file
+java:S1118":Add a private constructor to hide the implicit public one.(߀8.
+{
+AXU2uyDEv5u6atPUJJmi
+java:S1214@"CMove constants defined in this interfaces to another class or enum.(⸫8.
+r
+AXU2uyDEv5u6atPUJJmh
+java:S11181":Add a private constructor to hide the implicit public one.(͓8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90 b/src/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90
index ea655a5..82adf9a 100644
--- a/src/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90
+++ b/src/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90
@@ -1,70 +1,64 @@
-
-AXU2ux_Ev5u6atPUJJjL
-java:S2293^"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-
-AXU2ux_Ev5u6atPUJJjH
-java:S2259"M"NullPointerException" will be thrown when invoking method "doContentSync()".(8.
-AXU2ux_Fv5u6atPUJJjN
-java:S2293a"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-
-AXU2ux_Fv5u6atPUJJjV
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.(8.
-`
-AXU2ux_Fv5u6atPUJJjd
-java:S1905"'Remove this unnecessary cast to "Node".(8.
-
-AXU2ux_Ev5u6atPUJJjI
-java:S2259"M"NullPointerException" will be thrown when invoking method "doContentSync()".(8.
-p
-AXU2ux_Ev5u6atPUJJjJ
-java:S2589"7Remove this expression which always evaluates to "true"(락8.
-h
-AXU2ux_Ev5u6atPUJJjF
-java:S1066"/Merge this if statement with the enclosing one.(8.
+AXU2ux_Ev5u6atPUJJjK
+java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+
+AXU2ux_Fv5u6atPUJJjc
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ƶؠ8.
AXU2ux_Fv5u6atPUJJjX
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed.(ɸ8.
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed.(ɸ8.
+z
+AXU2ux_Ev5u6atPUJJjE
+java:S1192"FDefine a constant instead of duplicating this literal " DESC" 3 times.(Ա8.
R
AXU2ux_Fv5u6atPUJJjZ
-java:S2129"Remove this "Long" constructor(ϭ8.
-
-AXU2ux_Fv5u6atPUJJjM
-java:S2293_"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+java:S2129"Remove this "Long" constructor(ϭ8.
+
+AXU2ux_Fv5u6atPUJJjN
+java:S2293a"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+
+AXU2ux_Fv5u6atPUJJjW
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.(˰8.
+[
+AXU2ux_Fv5u6atPUJJje
+java:S1905"'Remove this unnecessary cast to "Node".(8.
AXU2ux_Fv5u6atPUJJjP
java:S2293c"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-z
-AXU2ux_Ev5u6atPUJJjE
-java:S1192"FDefine a constant instead of duplicating this literal " DESC" 3 times.(Ա8.
+
+AXU2ux_Fv5u6atPUJJjM
+java:S2293_"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
f
AXU2ux_Fv5u6atPUJJjS
java:S1905"-Remove this unnecessary cast to "JSONObject".(`8.
-d
-AXU2ux_Fv5u6atPUJJjb
-java:S1172"+Remove this unused method parameter "node".(ƶؠ8.
+`
+AXU2ux_Fv5u6atPUJJjT
+java:S1905"-Remove this unnecessary cast to "JSONObject".(؛
8.
-AXU2ux_Fv5u6atPUJJjR
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed.(þ8.
-[
-AXU2ux_Fv5u6atPUJJje
-java:S1905"'Remove this unnecessary cast to "Node".(8.
+AXU2ux_Fv5u6atPUJJjV
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.(8.
+
+AXU2ux_Ev5u6atPUJJjL
+java:S2293^"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+p
+AXU2ux_Ev5u6atPUJJjJ
+java:S2589"7Remove this expression which always evaluates to "true"(락8.
h
AXU2ux_Ev5u6atPUJJjG
java:S1066"/Merge this if statement with the enclosing one.(˼֓8.
-
-AXU2ux_Fv5u6atPUJJjc
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ƶؠ8.
+h
+AXU2ux_Ev5u6atPUJJjF
+java:S1066"/Merge this if statement with the enclosing one.(8.
+`
+AXU2ux_Fv5u6atPUJJjd
+java:S1905"'Remove this unnecessary cast to "Node".(8.
+d
+AXU2ux_Fv5u6atPUJJjb
+java:S1172"+Remove this unused method parameter "node".(ƶؠ8.
AXU2ux_Fv5u6atPUJJjO
java:S2293b"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-
-AXU2ux_Fv5u6atPUJJjW
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.(˰8.
-`
-AXU2ux_Fv5u6atPUJJjT
-java:S1905"-Remove this unnecessary cast to "JSONObject".(؛
8.
-
-AXU2ux_Ev5u6atPUJJjK
-java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
\ No newline at end of file
+
+AXU2ux_Fv5u6atPUJJjR
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed.(þ8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32
index 3bc4f78..911c669 100644
--- a/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32
+++ b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32
@@ -1,117 +1,85 @@
+f
+AXU2ux7hv5u6atPUJJg1
+java:S1199"-Extract this nested code block into a method.(8.
+f
+AXU2ux7hv5u6atPUJJg8
+java:S1199"-Extract this nested code block into a method.(8.
+T
+AXU2ux7hv5u6atPUJJg_
+java:S1116a"Remove this empty statement.(8.
-AXU2ux7jv5u6atPUJJhF
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(8.
+AXU2ux7jv5u6atPUJJhN
+java:S3252"RUse static access with "android.widget.AbsListView" for "MultiChoiceModeListener".(8.
+r
+AXU2ux7jv5u6atPUJJhQ
+java:S1874"9Remove this use of "getDefaultDisplay"; it is deprecated.(ĸ8.
+a
+AXU2ux7hv5u6atPUJJg4
+java:S1199"-Extract this nested code block into a method.(ȓ8.
+a
+AXU2ux7hv5u6atPUJJg7
+java:S1199"-Extract this nested code block into a method.(8.
+O
+AXU2ux7iv5u6atPUJJhC
+java:S3626"Remove this redundant jump.(݅8.
+^
+AXU2ux7jv5u6atPUJJhk
+java:S3398"%Move this method into "ModeCallback".(8.
+j
+AXU2ux7jv5u6atPUJJhR
+java:S1874"1Remove this use of "getHeight"; it is deprecated.(8.
k
AXU2ux7jv5u6atPUJJhO
-java:S1135"2Complete the task associated to this TODO comment.(8.
-f
-AXU2ux7hv5u6atPUJJg6
-java:S1199"-Extract this nested code block into a method.(̀8.
-m
-AXU2ux7jv5u6atPUJJhG
-java:S1874"9Remove this use of "PreferenceManager"; it is deprecated.(8.
-U
-AXU2ux7hv5u6atPUJJg_
-java:S1116"Remove this empty statement.(8.
-
-AXU2ux7hv5u6atPUJJgz
-java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד8.
-
-AXU2ux7jv5u6atPUJJhY
-java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8.
+java:S1135"2Complete the task associated to this TODO comment.(8.
AXU2ux7jv5u6atPUJJhe
java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ች8.
f
-AXU2ux7hv5u6atPUJJg1
-java:S1199"-Extract this nested code block into a method.(8.
-k
-AXU2ux7jv5u6atPUJJhK
-java:S1135"2Complete the task associated to this TODO comment.(̐8.
-d
-AXU2ux7jv5u6atPUJJhh
-java:S3398"0Move this method into "OnListItemClickListener".(8.
+AXU2ux7hv5u6atPUJJg2
+java:S1199"-Extract this nested code block into a method.(8.
+j
+AXU2ux7jv5u6atPUJJhd
+java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(Ч8.
k
AXU2ux7jv5u6atPUJJhP
-java:S1135"2Complete the task associated to this TODO comment.(8.
-f
-AXU2ux7hv5u6atPUJJg3
-java:S1199"-Extract this nested code block into a method.(Η8.
+java:S1135"2Complete the task associated to this TODO comment.(8.
+
+AXU2ux7jv5u6atPUJJhM
+java:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(8.
+Y
+AXU2ux7jv5u6atPUJJhj
+java:S3398"%Move this method into "ModeCallback".(8.
+x
+AXU2ux7hv5u6atPUJJhB
+java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ѿk8.
+~
+AXU2ux7jv5u6atPUJJhW
+java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(Ϳ8.
AXU2ux7jv5u6atPUJJhg
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8.
-k
-AXU2ux7jv5u6atPUJJha
-java:S1135"2Complete the task associated to this TODO comment.(8.
-{
-AXU2ux7jv5u6atPUJJhb
-java:S1126"BReplace this if-then-else statement by a single method invocation.(玒8.
-O
-AXU2ux7iv5u6atPUJJhE
-java:S3626"Remove this redundant jump.(݅8.
-c
-AXU2ux7jv5u6atPUJJhU
-java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(?8.
-j
-AXU2ux7jv5u6atPUJJhd
-java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(Ч8.
AXU2ux7jv5u6atPUJJhT
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(8.
-x
-AXU2ux7hv5u6atPUJJhB
-java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ѿk8.
-f
-AXU2ux7hv5u6atPUJJg8
-java:S1199"-Extract this nested code block into a method.(8.
+O
+AXU2ux7iv5u6atPUJJhE
+java:S3626"Remove this redundant jump.(݅8.
f
AXU2ux7hv5u6atPUJJg5
java:S1199"-Extract this nested code block into a method.(ڿ8.
-a
-AXU2ux7hv5u6atPUJJg7
-java:S1199"-Extract this nested code block into a method.(8.
+h
+AXU2ux7jv5u6atPUJJhi
+java:S3398"/Move this method into "BackgroundQueryHandler".(8.
f
-AXU2ux7hv5u6atPUJJg2
-java:S1199"-Extract this nested code block into a method.(8.
-r
-AXU2ux7jv5u6atPUJJhQ
-java:S1874"9Remove this use of "getDefaultDisplay"; it is deprecated.(ĸ8.
-Y
-AXU2ux7jv5u6atPUJJhj
-java:S3398"%Move this method into "ModeCallback".(8.
+AXU2ux7hv5u6atPUJJg6
+java:S1199"-Extract this nested code block into a method.(̀8.
AXU2ux7jv5u6atPUJJhZ
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(#8.
-a
-AXU2ux7hv5u6atPUJJg4
-java:S1199"-Extract this nested code block into a method.(ȓ8.
-h
-AXU2ux7jv5u6atPUJJhi
-java:S3398"/Move this method into "BackgroundQueryHandler".(8.
-~
-AXU2ux7jv5u6atPUJJhW
-java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(Ϳ8.
-O
-AXU2ux7iv5u6atPUJJhC
-java:S3626"Remove this redundant jump.(݅8.
-T
-AXU2ux7jv5u6atPUJJhS
-java:S1116a"Remove this empty statement.(8.
-w
-AXU2ux7jv5u6atPUJJhH
-java:S1874"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(8.
-\
-AXU2ux7jv5u6atPUJJhV java:S108")Either remove or fill this block of code.(ʥ8.
-^
-AXU2ux7jv5u6atPUJJhk
-java:S3398"%Move this method into "ModeCallback".(8.
-h
-AXU2ux7jv5u6atPUJJhX
-java:S1874"/Remove this use of "execute"; it is deprecated.(嫏8.
-
-AXU2ux7jv5u6atPUJJhM
-java:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(8.
+d
+AXU2ux7jv5u6atPUJJhh
+java:S3398"0Move this method into "OnListItemClickListener".(8.
O
AXU2ux7iv5u6atPUJJhD
java:S3626"Remove this redundant jump.(݅8.
@@ -119,31 +87,63 @@ c
AXU2ux7jv5u6atPUJJhL
java:S2093"*Change this "try" to a try-with-resources.(8.
h
-AXU2ux7jv5u6atPUJJhf
+AXU2ux7jv5u6atPUJJhX
java:S1874"/Remove this use of "execute"; it is deprecated.(嫏8.
-j
-AXU2ux7jv5u6atPUJJhR
-java:S1874"1Remove this use of "getHeight"; it is deprecated.(8.
+m
+AXU2ux7jv5u6atPUJJhG
+java:S1874"9Remove this use of "PreferenceManager"; it is deprecated.(8.
+f
+AXU2ux7hv5u6atPUJJg3
+java:S1199"-Extract this nested code block into a method.(Η8.
+k
+AXU2ux7jv5u6atPUJJha
+java:S1135"2Complete the task associated to this TODO comment.(8.
+U
+AXU2ux7jv5u6atPUJJhS
+java:S1116"Remove this empty statement.(8.
+h
+AXU2ux7jv5u6atPUJJhf
+java:S1874"/Remove this use of "execute"; it is deprecated.(嫏8.
+
+AXU2ux7jv5u6atPUJJhF
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(8.
+
+AXU2ux7jv5u6atPUJJhY
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8.
+k
+AXU2ux7jv5u6atPUJJhc
+java:S1135"2Complete the task associated to this TODO comment.(8.
~
AXU2ux7hv5u6atPUJJhA
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(8.
-
-AXU2ux7jv5u6atPUJJhN
-java:S3252"RUse static access with "android.widget.AbsListView" for "MultiChoiceModeListener".(8.
+
+AXU2ux7hv5u6atPUJJgz
+java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד8.
k
-AXU2ux7jv5u6atPUJJhc
-java:S1135"2Complete the task associated to this TODO comment.(8.
+AXU2ux7jv5u6atPUJJhK
+java:S1135"2Complete the task associated to this TODO comment.(̐8.
+w
+AXU2ux7jv5u6atPUJJhH
+java:S1874"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(8.
+\
+AXU2ux7jv5u6atPUJJhV java:S108")Either remove or fill this block of code.(ʥ8.
+c
+AXU2ux7jv5u6atPUJJhU
+java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(?8.
+{
+AXU2ux7jv5u6atPUJJhb
+java:S1126"BReplace this if-then-else statement by a single method invocation.(玒8.
+K
+java:S1199"-Extract this nested code block into a method.(Ծ8.
Y java:S125"").(л8.
-z
-AXU2uyD3v5u6atPUJJm-
-java:S1126"AReplace this if-then-else statement by a single return statement.(Ʒ8.
-
-AXU2uyD3v5u6atPUJJm_
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(8.
r
AXU2uyD3v5u6atPUJJm9
java:S1155">Use isEmpty() to check whether the collection is empty or not.(8.
+z
+AXU2uyD3v5u6atPUJJm-
+java:S1126"AReplace this if-then-else statement by a single return statement.(Ʒ8.
y
AXU2uyD3v5u6atPUJJnB
java:S2147"ECombine this catch with the one at line 248, which has the same body.(暩8.
AXU2uyD3v5u6atPUJJm8
-java:S1192?"ODefine a constant instead of duplicating this literal "Wrong note id:" 3 times.(8.
\ No newline at end of file
+java:S1192?"ODefine a constant instead of duplicating this literal "Wrong note id:" 3 times.(8.
+
+AXU2uyD3v5u6atPUJJm_
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(8.
+
+AXU2uyD3v5u6atPUJJnA
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(л8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc b/src/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc
index 2b58fa8..fb03cc6 100644
--- a/src/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc
+++ b/src/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc
@@ -1,13 +1,10 @@
-
-AXU2uyBJv5u6atPUJJkq
-java:S2293*"YReplace the type specification in this constructor call with the diamond operator ("<>").(ʩ8.
-
-AXU2uyBJv5u6atPUJJko
-java:S1319"pThe return type of this method should be an interface such as "List" rather than the implementation "ArrayList".(ﷺ8.
AXU2uyBJv5u6atPUJJkw
-java:S3923"[Remove this conditional structure or edit its code blocks so that they're not all the same.(ԡ8.
-y
-AXU2uyBJv5u6atPUJJkp
-java:S2259"@A "NullPointerException" could be thrown; "js" is nullable here.(8.
\ No newline at end of file
+java:S3923"[Remove this conditional structure or edit its code blocks so that they're not all the same.(ԡ8.
+
+AXU2uyBJv5u6atPUJJko
+java:S1319"pThe return type of this method should be an interface such as "List" rather than the implementation "ArrayList".(ﷺ8.
+
+AXU2uyBJv5u6atPUJJkq
+java:S2293*"YReplace the type specification in this constructor call with the diamond operator ("<>").(ʩ8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/f/0/f087b1ba1b9c91b7293fea0fb071eaed62a42137 b/src/.idea/sonarlint/issuestore/f/0/f087b1ba1b9c91b7293fea0fb071eaed62a42137
index 1f2e26b..c3a46e1 100644
--- a/src/.idea/sonarlint/issuestore/f/0/f087b1ba1b9c91b7293fea0fb071eaed62a42137
+++ b/src/.idea/sonarlint/issuestore/f/0/f087b1ba1b9c91b7293fea0fb071eaed62a42137
@@ -1,37 +1,37 @@
-}
-AXU2uyAYv5u6atPUJJkK
-java:S1124"EReorder the modifiers to comply with the Java Language Specification.(֖8.
-h
-AXU2uyAYv5u6atPUJJkV
-java:S2696f"6Make the enclosing method "static" or remove this set.(8.
-i
-AXU2uyAYv5u6atPUJJkR
-java:S2696/"6Make the enclosing method "static" or remove this set.(ю8.
i
AXU2uyAYv5u6atPUJJkS
java:S26961"6Make the enclosing method "static" or remove this set.(8.
-i
-AXU2uyAYv5u6atPUJJkU
-java:S2696D"6Make the enclosing method "static" or remove this set.(8.
-}
-AXU2uyAYv5u6atPUJJkN
-java:S1124!"EReorder the modifiers to comply with the Java Language Specification.(8.
x
AXU2uyAYv5u6atPUJJkP
java:S1124%"EReorder the modifiers to comply with the Java Language Specification.(ߪ8.
-}
-AXU2uyAYv5u6atPUJJkL
-java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ų8.
-x
-AXU2uyAYv5u6atPUJJkO
-java:S1124#"EReorder the modifiers to comply with the Java Language Specification.(ճ8.
+i
+AXU2uyAYv5u6atPUJJkU
+java:S2696D"6Make the enclosing method "static" or remove this set.(8.
x
AXU2uyAYv5u6atPUJJkQ
java:S1124'"EReorder the modifiers to comply with the Java Language Specification.(8.
}
AXU2uyAYv5u6atPUJJkM
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ز8.
+x
+AXU2uyAYv5u6atPUJJkO
+java:S1124#"EReorder the modifiers to comply with the Java Language Specification.(ճ8.
+}
+AXU2uyAYv5u6atPUJJkL
+java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ų8.
+i
+AXU2uyAYv5u6atPUJJkR
+java:S2696/"6Make the enclosing method "static" or remove this set.(ю8.
+h
+AXU2uyAYv5u6atPUJJkV
+java:S2696f"6Make the enclosing method "static" or remove this set.(8.
+}
+AXU2uyAYv5u6atPUJJkK
+java:S1124"EReorder the modifiers to comply with the Java Language Specification.(֖8.
+}
+AXU2uyAYv5u6atPUJJkN
+java:S1124!"EReorder the modifiers to comply with the Java Language Specification.(8.
b
AXU2uyAYv5u6atPUJJkT
java:S18747"/Remove this use of "execute"; it is deprecated.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/f/1/f1226eeacd46c914d51f3d1a6d6f27377490d2a4 b/src/.idea/sonarlint/issuestore/f/1/f1226eeacd46c914d51f3d1a6d6f27377490d2a4
index ae76762..a3992cb 100644
--- a/src/.idea/sonarlint/issuestore/f/1/f1226eeacd46c914d51f3d1a6d6f27377490d2a4
+++ b/src/.idea/sonarlint/issuestore/f/1/f1226eeacd46c914d51f3d1a6d6f27377490d2a4
@@ -1,19 +1,19 @@
-
-AXU2uyAnv5u6atPUJJka
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 91 to the 15 allowed.(8.
-
-AXU2uyAnv5u6atPUJJkX
-java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+
+AXU2uyAnv5u6atPUJJkd
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.(8.
AXU2uyAnv5u6atPUJJkY
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
-
-AXU2uyAnv5u6atPUJJkZ
-java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
O
AXU2uyAnv5u6atPUJJkW
java:S2386."Make this member "protected".(u8.
-
-AXU2uyAnv5u6atPUJJkd
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.(8.
\ No newline at end of file
+
+AXU2uyAnv5u6atPUJJkZ
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+
+AXU2uyAnv5u6atPUJJkX
+java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8.
+
+AXU2uyAnv5u6atPUJJka
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 91 to the 15 allowed.(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/f/9/f9f49497f95afd327db7a7a512612aa1089003d4 b/src/.idea/sonarlint/issuestore/f/9/f9f49497f95afd327db7a7a512612aa1089003d4
index 9152bd1..81b7208 100644
--- a/src/.idea/sonarlint/issuestore/f/9/f9f49497f95afd327db7a7a512612aa1089003d4
+++ b/src/.idea/sonarlint/issuestore/f/9/f9f49497f95afd327db7a7a512612aa1089003d4
@@ -1,13 +1,13 @@
-P
-AXU2ux80v5u6atPUJJhx
-java:S2386!"Make this member "protected".(Ꙗ8.
+j
+AXU2ux80v5u6atPUJJh0
+java:S1135+"2Complete the task associated to this TODO comment.(8.
h
AXU2ux80v5u6atPUJJhz
java:S1874*"5Remove this use of "CursorAdapter"; it is deprecated.(ж8.
+P
+AXU2ux80v5u6atPUJJhx
+java:S2386!"Make this member "protected".(Ꙗ8.
}
AXU2ux80v5u6atPUJJhy
-java:S1874)"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(8.
-j
-AXU2ux80v5u6atPUJJh0
-java:S1135+"2Complete the task associated to this TODO comment.(8.
\ No newline at end of file
+java:S1874)"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(8.
\ No newline at end of file
diff --git a/src/.idea/sonarlint/issuestore/f/a/fac787173fd88af7c8b8a3558d3155a045dd5ed7 b/src/.idea/sonarlint/issuestore/f/a/fac787173fd88af7c8b8a3558d3155a045dd5ed7
index 0cf1d82..26816fa 100644
--- a/src/.idea/sonarlint/issuestore/f/a/fac787173fd88af7c8b8a3558d3155a045dd5ed7
+++ b/src/.idea/sonarlint/issuestore/f/a/fac787173fd88af7c8b8a3558d3155a045dd5ed7
@@ -1,132 +1,133 @@
-W
-java:S1128"5Remove this unused import 'android.view.ContextMenu'.(Җ8՟.
+k
+java:S1128)"ORemove this unused import 'android.widget.AdapterView.OnItemLongClickListener'.(p8Ҁ.
+?
+java:S1643"Use a StringBuilder instead.(8.
h
java:S11285"KRemove this unused import 'net.micode.notes.gtask.remote.GTaskSyncService'.(̅8՟.
-X
-java:S1068M";Remove this unused "MENU_FOLDER_CHANGE_NAME" private field.(ũ8.
+~ java:S116{"]Rename this field "Search_NoteIdArray" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ф.
+s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ɫ8.
+T
+java:S1128"2Remove this unused import 'android.text.Editable'.(8՟.
Q
java:S1128"4Remove this unused import 'android.content.Context'.(ʉ8՟.
-^ java:S125"Remove this unused import 'android.view.View.OnClickListener'.(8Ҁ.
+[
+java:S11287">Remove this unused import 'net.micode.notes.tool.BackupUtils'.(ྛ8՟.
+U
+java:S1068y"9Remove this unused "REQUEST_CODE_NEW_NODE" private field.(Ѿk8.
u
java:S1450h"XRemove the "mTitleBar" field and declare it as a local variable in the relevant methods.(8.
-S
-java:S1068I"6Remove this unused "MENU_FOLDER_DELETE" private field.(8.
-f
-java:S1128;"JRemove this unused import 'net.micode.notes.widget.NoteWidgetProvider_2x'.(?8՟.
-g
-java:S1128"ERemove this unused import 'android.view.ContextMenu.ContextMenuInfo'.(8՟.
-j
-java:S1128&"HRemove this unused import 'android.view.inputmethod.InputMethodManager'.(8՟.
-R
-java:S1128?"0Remove this unused import 'java.io.IOException'.(8՟.
O
java:S1068b"-Remove this unused "mDispatch" private field.(8.
-R
-java:S3398"/Move this method into "BackgroundQueryHandler".(8.
+^ java:S125"Remove this unused import 'android.view.View.OnClickListener'.(8Ҁ.
-k
-java:S1128)"ORemove this unused import 'android.widget.AdapterView.OnItemLongClickListener'.(p8Ҁ.
-?
-java:S1643"Use a StringBuilder instead.(8.
-z
-java:S1450b"XRemove the "mDispatch" field and declare it as a local variable in the relevant methods.(8.
+java:S1128"ARemove this unused import 'android.view.HapticFeedbackConstants'.(8՟.
+U
+java:S1135"2Complete the task associated to this TODO comment.(8.
+a
+java:S11286"?Remove this unused import 'net.micode.notes.model.WorkingNote'.(8՟.
+o
+java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8.
+X
+java:S1068M";Remove this unused "MENU_FOLDER_CHANGE_NAME" private field.(ũ8.
{
java:S1450f"YRemove the "mDispatchY" field and declare it as a local variable in the relevant methods.(8.
-M
-java:S1128@"0Remove this unused import 'java.io.InputStream'.(8՟.
-q
-java:S1128:"TRemove this unused import 'net.micode.notes.ui.NotesListAdapter.AppWidgetAttribute'.(ѥ8՟.
-~ java:S116{"]Rename this field "Search_NoteIdArray" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ф.
-o
-java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8.
-Z
-java:S1128%">Remove this unused import 'android.view.View.OnTouchListener'.(˲<8՟.
-P
-java:S1068f".Remove this unused "mDispatchY" private field.(8.
a
java:S1124y"EReorder the modifiers to comply with the Java Language Specification.(Ѿk8.
>
java:S1116T"Remove this empty statement.(8.
-N
-java:S1128"1Remove this unused import 'android.os.AsyncTask'.(8՟.
t
-java:S2095"QUse try-with-resources or close this "NotesDatabaseHelper" in a "finally" clause.(Ü8.
-\
-java:S1128"?Remove this unused import 'android.appwidget.AppWidgetManager'.(8՟.
+java:S1450d"WRemove the "mOriginY" field and declare it as a local variable in the relevant methods.(8.
+J
+java:S1128B".Remove this unused import 'java.util.HashSet'.(ʂX8՟.
+u
+java:S3252"RUse static access with "android.widget.AbsListView" for "MultiChoiceModeListener".(8.
+M
+java:S1128@"0Remove this unused import 'java.io.InputStream'.(8՟.
+Z
+java:S1128%">Remove this unused import 'android.view.View.OnTouchListener'.(˲<8՟.
U
-java:S1135"2Complete the task associated to this TODO comment.(8.
-^ java:S125"Remove this unused import 'android.content.SharedPreferences'.(r8.
+W
+java:S1128
+":Remove this unused import 'android.content.ContentValues'.(咵8՟.
+S
+java:S1068I"6Remove this unused "MENU_FOLDER_DELETE" private field.(8.
R
java:S1128"5Remove this unused import 'android.text.TextWatcher'.(8՟.
+q
+java:S1128:"TRemove this unused import 'net.micode.notes.ui.NotesListAdapter.AppWidgetAttribute'.(ѥ8՟.
+l
+java:S1128<"JRemove this unused import 'net.micode.notes.widget.NoteWidgetProvider_4x'.(Ŀ8՟.
+\
+java:S1128"?Remove this unused import 'android.appwidget.AppWidgetManager'.(8՟.
K
-java:S1068"-Remove this unused "mMoveMenu" private field.(8.
-:
-java:S1643"Use a StringBuilder instead.(8.
-a
-java:S11286"?Remove this unused import 'net.micode.notes.model.WorkingNote'.(8՟.
-T
-java:S1128"2Remove this unused import 'android.text.Editable'.(8՟.
+java:S1068"-Remove this unused "mMoveMenu" private field.(8.
+g
+java:S1128"ERemove this unused import 'android.view.ContextMenu.ContextMenuInfo'.(8՟.
+R
+java:S3398"/Move this method into "BackgroundQueryHandler".(8.
+g
+java:S1124x"EReorder the modifiers to comply with the Java Language Specification.(8.
+P
+java:S1128>"3Remove this unused import 'java.io.BufferedReader'.(8՟.
+W
+java:S1128!"5Remove this unused import 'android.view.MotionEvent'.(8՟.
+U
+java:S1135"2Complete the task associated to this TODO comment.(8.
N
-java:S3398"0Move this method into "OnListItemClickListener".(8.
+java:S1128"1Remove this unused import 'android.os.AsyncTask'.(8՟.
^
java:S1128"ARemove this unused import 'android.preference.PreferenceManager'.(8՟.
-l
-java:S1128$"JRemove this unused import 'android.view.View.OnCreateContextMenuListener'.(؝8՟.
+S
+java:S1128A"6Remove this unused import 'java.io.InputStreamReader'.(8՟.
+f
+java:S1128;"JRemove this unused import 'net.micode.notes.widget.NoteWidgetProvider_2x'.(?8՟.
+j
+java:S1128&"HRemove this unused import 'android.view.inputmethod.InputMethodManager'.(8՟.
Q
java:S1128+"4Remove this unused import 'android.widget.EditText'.(ś8՟.
-Q
-java:S1128"/Remove this unused import 'android.app.Dialog'.(8՟.
-[
-java:S11287">Remove this unused import 'net.micode.notes.tool.BackupUtils'.(ྛ8՟.
-U
-java:S1128"3Remove this unused import 'android.text.TextUtils'.(8ը.
-W
-java:S1128
-":Remove this unused import 'android.content.ContentValues'.(咵8՟.
-^ java:S125""3Remove this unused import 'java.io.BufferedReader'.(8՟.
-s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ɫ8.
-c
-java:S1128"ARemove this unused import 'android.view.HapticFeedbackConstants'.(8՟.
-J
-java:S1128B".Remove this unused import 'java.util.HashSet'.(ʂX8՟.
-`
-java:S1854"=Remove this useless assignment to local variable "selection".(ߚ8.
-Y java:S125"app/src/main/java/net/micode/notes/ui/DeleteLoginPassword.java,e\2\e2d86cf6e50e136d9462caeb6cb8a54111d4d82c
\ No newline at end of file
diff --git a/src/.idea/workspace.xml b/src/.idea/workspace.xml
index 46611db..51fd6a0 100644
--- a/src/.idea/workspace.xml
+++ b/src/.idea/workspace.xml
@@ -57,10 +57,10 @@
-
+
-
+
@@ -245,26 +245,26 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
@@ -317,10 +317,10 @@
-
+
-
+
diff --git a/src/app/build/intermediates/blame/res/debug/single/debug.json b/src/app/build/intermediates/blame/res/debug/single/debug.json
index b7754d8..6b996ff 100644
--- a/src/app/build/intermediates/blame/res/debug/single/debug.json
+++ b/src/app/build/intermediates/blame/res/debug/single/debug.json
@@ -64,20 +64,20 @@
"source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\edit_red.9.png"
},
{
- "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_widget_2x.xml.flat",
- "source": "F:\\Notes-master\\app\\src\\main\\res\\layout\\widget_2x.xml"
- },
- {
- "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_note_list.xml.flat",
- "source": "F:\\Notes-master\\app\\src\\main\\res\\menu\\note_list.xml"
+ "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_widget_4x_red.png.flat",
+ "source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\widget_4x_red.png"
},
{
"merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_notification.png.flat",
"source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\notification.png"
},
{
- "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_widget_4x_red.png.flat",
- "source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\widget_4x_red.png"
+ "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_note_list.xml.flat",
+ "source": "F:\\Notes-master\\app\\src\\main\\res\\menu\\note_list.xml"
+ },
+ {
+ "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_widget_2x.xml.flat",
+ "source": "F:\\Notes-master\\app\\src\\main\\res\\layout\\widget_2x.xml"
},
{
"merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_edit_white.9.png.flat",
@@ -87,14 +87,14 @@
"merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_new_note_normal.png.flat",
"source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\new_note_normal.png"
},
- {
- "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_call_note_edit.xml.flat",
- "source": "F:\\Notes-master\\app\\src\\main\\res\\menu\\call_note_edit.xml"
- },
{
"merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_yellow_middle.9.png.flat",
"source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_yellow_middle.9.png"
},
+ {
+ "merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_call_note_edit.xml.flat",
+ "source": "F:\\Notes-master\\app\\src\\main\\res\\menu\\call_note_edit.xml"
+ },
{
"merged": "F:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_edit_blue.9.png.flat",
"source": "F:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\edit_blue.9.png"
diff --git a/src/app/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debug/R.jar b/src/app/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debug/R.jar
index 0830d1e..04e86d1 100644
Binary files a/src/app/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debug/R.jar and b/src/app/build/intermediates/compile_and_runtime_not_namespaced_r_class_jar/debug/R.jar differ
diff --git a/src/app/build/intermediates/dex/debug/mergeDexDebug/classes.dex b/src/app/build/intermediates/dex/debug/mergeDexDebug/classes.dex
index 367201b..3f6cb6c 100644
Binary files a/src/app/build/intermediates/dex/debug/mergeDexDebug/classes.dex and b/src/app/build/intermediates/dex/debug/mergeDexDebug/classes.dex differ
diff --git a/src/app/build/intermediates/dex_archive_input_jar_hashes/debug/out b/src/app/build/intermediates/dex_archive_input_jar_hashes/debug/out
index fd6b754..0d0d67f 100644
Binary files a/src/app/build/intermediates/dex_archive_input_jar_hashes/debug/out and b/src/app/build/intermediates/dex_archive_input_jar_hashes/debug/out differ
diff --git a/src/app/build/intermediates/incremental/mergeDebugResources/compile-file-map.properties b/src/app/build/intermediates/incremental/mergeDebugResources/compile-file-map.properties
index b360471..8a0e7cc 100644
--- a/src/app/build/intermediates/incremental/mergeDebugResources/compile-file-map.properties
+++ b/src/app/build/intermediates/incremental/mergeDebugResources/compile-file-map.properties
@@ -1,4 +1,4 @@
-#Wed Nov 25 10:21:37 CST 2020
+#Fri Nov 27 11:06:17 CST 2020
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\edit_red.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_edit_red.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_green_single.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_green_single.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\notification.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_notification.png.flat
@@ -70,19 +70,19 @@ F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_yellow_middle.9.png=
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_green_down.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_green_down.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\menu\\note_list_dropdown.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_note_list_dropdown.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\menu_delete.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_menu_delete.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\layout\\settings_header.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_settings_header.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\color\\secondary_text_dark.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\color_secondary_text_dark.xml.flat
+F\:\\Notes-master\\app\\src\\main\\res\\layout\\settings_header.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_settings_header.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_red_down.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_red_down.9.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\color\\primary_text_dark.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\color_primary_text_dark.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\layout\\note_item.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_note_item.xml.flat
-F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_blue_down.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_blue_down.9.png.flat
+F\:\\Notes-master\\app\\src\\main\\res\\color\\primary_text_dark.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\color_primary_text_dark.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\edit_green.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_edit_green.9.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\widget_2x_blue.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_widget_2x_blue.png.flat
+F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_blue_down.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_blue_down.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\widget_2x_yellow.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_widget_2x_yellow.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_blue_up.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_blue_up.9.png.flat
+F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\widget_2x_blue.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_widget_2x_blue.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_yellow_single.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_yellow_single.9.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\menu\\call_note_edit.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_call_note_edit.xml.flat
+F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_blue_up.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_blue_up.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\edit_title_blue.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_edit_title_blue.9.png.flat
+F\:\\Notes-master\\app\\src\\main\\res\\menu\\call_note_edit.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_call_note_edit.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\layout\\widget_4x.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_widget_4x.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\title_bar_bg.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_title_bar_bg.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\edit_title_green.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_edit_title_green.9.png.flat
@@ -91,14 +91,14 @@ F\:\\Notes-master\\app\\src\\main\\res\\raw-zh-rCN\\introduction=F\:\\Notes-mast
F\:\\Notes-master\\app\\src\\main\\res\\drawable\\new_note.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable_new_note.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\xml\\widget_4x_info.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\xml_widget_4x_info.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\font_size_selector_bg.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_font_size_selector_bg.9.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\layout\\number_call_dialog.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_number_call_dialog.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\xml\\preferences.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\xml_preferences.xml.flat
+F\:\\Notes-master\\app\\src\\main\\res\\layout\\number_call_dialog.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_number_call_dialog.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\layout\\datetime_picker.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_datetime_picker.xml.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_green_middle.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_green_middle.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\icon_app.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_icon_app.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\menu_move.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_menu_move.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\font_large.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_font_large.png.flat
-F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_red_single.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_red_single.9.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\layout\\note_list.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\layout_note_list.xml.flat
+F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\list_red_single.9.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_list_red_single.9.png.flat
+F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\font_large.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_font_large.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\drawable-hdpi\\widget_2x_green.png=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\drawable-hdpi_widget_2x_green.png.flat
F\:\\Notes-master\\app\\src\\main\\res\\menu\\note_list_options.xml=F\:\\Notes-master\\app\\build\\intermediates\\res\\merged\\debug\\menu_note_list_options.xml.flat
diff --git a/src/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt b/src/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt
index 5c2dbc6..282dd59 100644
--- a/src/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt
+++ b/src/app/build/intermediates/incremental/packageDebug/tmp/debug/dex-renamer-state.txt
@@ -1,4 +1,4 @@
-#Thu Nov 26 22:28:24 CST 2020
+#Fri Nov 27 11:06:45 CST 2020
base.0=F\:\\Notes-master\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\classes.dex
path.0=classes.dex
renamed.0=classes.dex
diff --git a/src/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/androidResources b/src/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/androidResources
index 3806b0e..58939b0 100644
Binary files a/src/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/androidResources and b/src/app/build/intermediates/incremental/packageDebug/tmp/debug/zip-cache/androidResources differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword$1.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword$1.class
index 2e43c33..2793e58 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword$1.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword$1.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword.class
index 53cdca0..8f25535 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/ChangedLoginPassword.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/DeleteLoginPassword.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/DeleteLoginPassword.class
index 9a5beac..6502615 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/DeleteLoginPassword.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/DeleteLoginPassword.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class
index cfca905..aba4acc 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$3.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$4.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$4.class
index 84ae2d0..2e82ed9 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$4.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$4.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$5.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$5.class
index c6893c2..ee9bf14 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$5.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$5.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$6.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$6.class
index 24ef6df..5fc19d4 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$6.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$6.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$7.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$7.class
index 06cd278..c60514e 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$7.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$7.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$8.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$8.class
index 2f347f6..b7e285d 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$8.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$8.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$9.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$9.class
index b8fbed1..cb1ea4b 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$9.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$9.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$Clickable.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$Clickable.class
index cf902dd..21c38c8 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$Clickable.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity$Clickable.class differ
diff --git a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class
index cd5fcd3..68e7a46 100644
Binary files a/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class and b/src/app/build/intermediates/javac/debug/classes/net/micode/notes/ui/NoteEditActivity.class differ
diff --git a/src/app/build/intermediates/processed_res/debug/out/resources-debug.ap_ b/src/app/build/intermediates/processed_res/debug/out/resources-debug.ap_
index c2d4bc9..27f3da4 100644
Binary files a/src/app/build/intermediates/processed_res/debug/out/resources-debug.ap_ and b/src/app/build/intermediates/processed_res/debug/out/resources-debug.ap_ differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword$1.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword$1.dex
index 0b799d5..57b9f92 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword$1.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword$1.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword.dex
index 3e42896..67f9291 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/ChangedLoginPassword.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/DeleteLoginPassword.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/DeleteLoginPassword.dex
index f59123f..2456bdf 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/DeleteLoginPassword.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/DeleteLoginPassword.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$3.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$3.dex
index ea54bb0..03be0bb 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$3.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$3.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$4.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$4.dex
index 282aa1e..ebf84a1 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$4.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$4.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$5.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$5.dex
index 15922ea..ddaa83c 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$5.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$5.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$6.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$6.dex
index 858c313..f6c14c7 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$6.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$6.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$7.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$7.dex
index 7fd46ef..c2b2cc4 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$7.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$7.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$8.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$8.dex
index 341dcb4..0ab6ff3 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$8.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$8.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$9.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$9.dex
index 860aeb8..77866e3 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$9.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$9.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$Clickable.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$Clickable.dex
index 30ccbd9..1cd3da5 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$Clickable.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity$Clickable.dex differ
diff --git a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity.dex b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity.dex
index ff5b8d3..b335660 100644
Binary files a/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity.dex and b/src/app/build/intermediates/project_dex_archive/debug/out/net/micode/notes/ui/NoteEditActivity.dex differ
diff --git a/src/app/build/intermediates/res/merged/debug/layout_activity_change_loginpassword.xml.flat b/src/app/build/intermediates/res/merged/debug/layout_activity_change_loginpassword.xml.flat
index baa9637..3c9417a 100644
Binary files a/src/app/build/intermediates/res/merged/debug/layout_activity_change_loginpassword.xml.flat and b/src/app/build/intermediates/res/merged/debug/layout_activity_change_loginpassword.xml.flat differ
diff --git a/src/app/build/intermediates/res/merged/debug/layout_activity_delete_loginpassword.xml.flat b/src/app/build/intermediates/res/merged/debug/layout_activity_delete_loginpassword.xml.flat
index 6b7f983..1b06bf0 100644
Binary files a/src/app/build/intermediates/res/merged/debug/layout_activity_delete_loginpassword.xml.flat and b/src/app/build/intermediates/res/merged/debug/layout_activity_delete_loginpassword.xml.flat differ
diff --git a/src/app/build/intermediates/runtime_symbol_list/debug/R.txt b/src/app/build/intermediates/runtime_symbol_list/debug/R.txt
index 86599b0..71e5164 100644
--- a/src/app/build/intermediates/runtime_symbol_list/debug/R.txt
+++ b/src/app/build/intermediates/runtime_symbol_list/debug/R.txt
@@ -75,7 +75,7 @@ int drawable widget_4x_green 0x7f04003f
int drawable widget_4x_red 0x7f040040
int drawable widget_4x_white 0x7f040041
int drawable widget_4x_yellow 0x7f040042
-int id Bt_acknowledged 0x7f050000
+int id Bt_Acknowledged 0x7f050000
int id account_dialog_subtitle 0x7f050001
int id account_dialog_title 0x7f050002
int id ack_password 0x7f050003
diff --git a/src/app/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt b/src/app/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt
index 1597fcb..788512a 100644
--- a/src/app/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt
+++ b/src/app/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt
@@ -76,7 +76,7 @@ drawable widget_4x_green
drawable widget_4x_red
drawable widget_4x_white
drawable widget_4x_yellow
-id Bt_acknowledged
+id Bt_Acknowledged
id account_dialog_subtitle
id account_dialog_title
id ack_password
diff --git a/src/app/build/outputs/apk/debug/app-debug.apk b/src/app/build/outputs/apk/debug/app-debug.apk
index 7ef099c..c04aff4 100644
Binary files a/src/app/build/outputs/apk/debug/app-debug.apk and b/src/app/build/outputs/apk/debug/app-debug.apk differ
diff --git a/src/app/src/main/java/net/micode/notes/gtask/data/Task.java b/src/app/src/main/java/net/micode/notes/gtask/data/Task.java
index 6a19454..01455e7 100644
--- a/src/app/src/main/java/net/micode/notes/gtask/data/Task.java
+++ b/src/app/src/main/java/net/micode/notes/gtask/data/Task.java
@@ -180,27 +180,31 @@ public class Task extends Node {
|| !js.has(GTaskStringUtils.META_HEAD_DATA)) {
Log.w(TAG, "setContentByLocalJSON: nothing is avaiable");
}
+ else {
- try {
- JSONObject note = js.getJSONObject(GTaskStringUtils.META_HEAD_NOTE);
- JSONArray dataArray = js.getJSONArray(GTaskStringUtils.META_HEAD_DATA);
-
- if (note.getInt(NoteColumns.TYPE) != Notes.TYPE_NOTE) {
- Log.e(TAG, "invalid type");
- return;
- }
+ try {
+ JSONObject note = js.getJSONObject(GTaskStringUtils.META_HEAD_NOTE);
+ JSONArray dataArray = js.getJSONArray(GTaskStringUtils.META_HEAD_DATA);
- for (int i = 0; i < dataArray.length(); i++) {
- JSONObject data = dataArray.getJSONObject(i);
- if (TextUtils.equals(data.getString(DataColumns.MIME_TYPE), DataConstants.NOTE)) {
- setName(data.getString(DataColumns.CONTENT));
- break;
+ if (note.getInt(NoteColumns.TYPE) != Notes.TYPE_NOTE) {
+ Log.e(TAG, "invalid type");
+ return;
+ }
+ //遍历 dataArray 查找与数据库中DataConstants.NOTE 记录信息一致的 data
+ for (int i = 0; i < dataArray.length(); i++) {
+ JSONObject data = dataArray.getJSONObject(i);
+ //判断两个字符串是否相等
+ if (TextUtils.equals(data.getString(DataColumns.MIME_TYPE), DataConstants.NOTE)) {
+ setName(data.getString(DataColumns.CONTENT));
+ break;
+ }
}
- }
- } catch (JSONException e) {
- Log.e(TAG, e.toString());
- e.printStackTrace();
+
+ } catch (JSONException e) {
+ Log.e(TAG, e.toString());
+ e.printStackTrace();
+ }
}
}
diff --git a/src/app/src/main/java/net/micode/notes/gtask/data/TaskList.java b/src/app/src/main/java/net/micode/notes/gtask/data/TaskList.java
index 4ea21c5..f96f228 100644
--- a/src/app/src/main/java/net/micode/notes/gtask/data/TaskList.java
+++ b/src/app/src/main/java/net/micode/notes/gtask/data/TaskList.java
@@ -135,15 +135,23 @@ public class TaskList extends Node {
}
try {
- JSONObject folder = js.getJSONObject(GTaskStringUtils.META_HEAD_NOTE);
+ JSONObject folder = new JSONObject();
+ if(js != null){
+ folder = js.getJSONObject(GTaskStringUtils.META_HEAD_NOTE);}
if (folder.getInt(NoteColumns.TYPE) == Notes.TYPE_FOLDER) {
+ //获取文件夹片段字符串作为文件夹名称
String name = folder.getString(NoteColumns.SNIPPET);
+ //设置名称为MIUI系统文件夹前缀+文件夹名称
setName(GTaskStringUtils.MIUI_FOLDER_PREFFIX + name);
+ //若为根目录文件夹
} else if (folder.getInt(NoteColumns.TYPE) == Notes.TYPE_SYSTEM) {
if (folder.getLong(NoteColumns.ID) == Notes.ID_ROOT_FOLDER)
+ //设置名称为MIUI系统文件夹前缀+默认文件夹名称
setName(GTaskStringUtils.MIUI_FOLDER_PREFFIX + GTaskStringUtils.FOLDER_DEFAULT);
+ //判断是否为通话记录文件夹
else if (folder.getLong(NoteColumns.ID) == Notes.ID_CALL_RECORD_FOLDER)
+ //设置名称为MIUI系统文件夹前缀+通话便签文件夹名称
setName(GTaskStringUtils.MIUI_FOLDER_PREFFIX
+ GTaskStringUtils.FOLDER_CALL_NOTE);
else
diff --git a/src/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java b/src/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java
index d2b4082..778900b 100644
--- a/src/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java
+++ b/src/app/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java
@@ -219,7 +219,7 @@ public class GTaskManager {
if (name.startsWith(GTaskStringUtils.MIUI_FOLDER_PREFFIX)
&& !name.equals(GTaskStringUtils.MIUI_FOLDER_PREFFIX
- + GTaskStringUtils.FOLDER_META)) {
+ + GTaskStringUtils.FOLDER_META)) {
TaskList tasklist = new TaskList();
tasklist.setContentByRemoteJSON(object);
mGTaskListHashMap.put(gid, tasklist);
@@ -394,7 +394,7 @@ public class GTaskManager {
try {
c = mContentResolver.query(Notes.CONTENT_NOTE_URI, SqlNote.PROJECTION_NOTE, "(_id=?)",
new String[] {
- String.valueOf(Notes.ID_CALL_RECORD_FOLDER)
+ String.valueOf(Notes.ID_CALL_RECORD_FOLDER)
}, null);
if (c != null) {
if (c.moveToNext()) {
@@ -482,43 +482,45 @@ public class GTaskManager {
}
MetaData meta;
- switch (syncType) {
- case Node.SYNC_ACTION_ADD_LOCAL:
- addLocalNode(node);
- break;
- case Node.SYNC_ACTION_ADD_REMOTE:
- addRemoteNode(node, c);
- break;
- case Node.SYNC_ACTION_DEL_LOCAL:
- meta = mMetaHashMap.get(c.getString(SqlNote.GTASK_ID_COLUMN));
- if (meta != null) {
- GTaskClient.getInstance().deleteNode(meta);
- }
- mLocalDeleteIdMap.add(c.getLong(SqlNote.ID_COLUMN));
- break;
- case Node.SYNC_ACTION_DEL_REMOTE:
- meta = mMetaHashMap.get(node.getGid());
- if (meta != null) {
- GTaskClient.getInstance().deleteNode(meta);
- }
- GTaskClient.getInstance().deleteNode(node);
- break;
- case Node.SYNC_ACTION_UPDATE_LOCAL:
- updateLocalNode(node, c);
- break;
- case Node.SYNC_ACTION_UPDATE_REMOTE:
- updateRemoteNode(node, c);
- break;
- case Node.SYNC_ACTION_UPDATE_CONFLICT:
- // merging both modifications maybe a good idea
- // right now just use local update simply
- updateRemoteNode(node, c);
- break;
- case Node.SYNC_ACTION_NONE:
- break;
- case Node.SYNC_ACTION_ERROR:
- default:
- throw new ActionFailureException("unkown sync action type");
+ if(c != null){
+ switch (syncType) {
+ case Node.SYNC_ACTION_ADD_LOCAL:
+ addLocalNode(node);
+ break;
+ case Node.SYNC_ACTION_ADD_REMOTE:
+ addRemoteNode(node, c);
+ break;
+ case Node.SYNC_ACTION_DEL_LOCAL:
+ meta = mMetaHashMap.get(c.getString(SqlNote.GTASK_ID_COLUMN));
+ if (meta != null) {
+ GTaskClient.getInstance().deleteNode(meta);
+ }
+ mLocalDeleteIdMap.add(c.getLong(SqlNote.ID_COLUMN));
+ break;
+ case Node.SYNC_ACTION_DEL_REMOTE:
+ meta = mMetaHashMap.get(node.getGid());
+ if (meta != null) {
+ GTaskClient.getInstance().deleteNode(meta);
+ }
+ GTaskClient.getInstance().deleteNode(node);
+ break;
+ case Node.SYNC_ACTION_UPDATE_LOCAL:
+ updateLocalNode(node, c);
+ break;
+ case Node.SYNC_ACTION_UPDATE_REMOTE:
+ updateRemoteNode(node, c);
+ break;
+ case Node.SYNC_ACTION_UPDATE_CONFLICT:
+ // merging both modifications maybe a good idea
+ // right now just use local update simply
+ updateRemoteNode(node, c);
+ break;
+ case Node.SYNC_ACTION_NONE:
+ break;
+ case Node.SYNC_ACTION_ERROR:
+ default:
+ throw new ActionFailureException("unkown sync action type");
+ }
}
}
diff --git a/src/app/src/main/java/net/micode/notes/tool/BackupUtils.java b/src/app/src/main/java/net/micode/notes/tool/BackupUtils.java
index 39f6ec4..45eff8f 100644
--- a/src/app/src/main/java/net/micode/notes/tool/BackupUtils.java
+++ b/src/app/src/main/java/net/micode/notes/tool/BackupUtils.java
@@ -295,8 +295,9 @@ public class BackupUtils {
mFileName = file.getName();
mFileDirectory = mContext.getString(R.string.file_path);
PrintStream ps = null;
+ FileOutputStream fos = null;
try {
- FileOutputStream fos = new FileOutputStream(file);
+ fos = new FileOutputStream(file);
ps = new PrintStream(fos);
} catch (FileNotFoundException e) {
e.printStackTrace();
diff --git a/src/app/src/main/java/net/micode/notes/ui/ChangedLoginPassword.java b/src/app/src/main/java/net/micode/notes/ui/ChangedLoginPassword.java
index c1a205a..b544d25 100644
--- a/src/app/src/main/java/net/micode/notes/ui/ChangedLoginPassword.java
+++ b/src/app/src/main/java/net/micode/notes/ui/ChangedLoginPassword.java
@@ -4,7 +4,6 @@ import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
-import android.util.Log;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
@@ -14,9 +13,9 @@ import android.widget.Toast;
import net.micode.notes.R;
public class ChangedLoginPassword extends Activity{
- EditText oldpassword;
- EditText newpassword;
- EditText ackpassword;
+ EditText oldPassword;
+ EditText newPassword;
+ EditText ackPassword;
Button acknowledged;
@Override
@@ -26,26 +25,26 @@ public class ChangedLoginPassword extends Activity{
getWindow().setSoftInputMode(
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE
| WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
- oldpassword=(EditText) findViewById(R.id.old_password);
- newpassword=(EditText) findViewById(R.id.new_password);
- ackpassword=(EditText) findViewById(R.id.ack_password);
+ oldPassword=(EditText) findViewById(R.id.old_password);
+ newPassword=(EditText) findViewById(R.id.new_password);
+ ackPassword=(EditText) findViewById(R.id.ack_password);
acknowledged=(Button)findViewById(R.id.Bt_acknowledged);
acknowledged.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
- String old_password = oldpassword.getText().toString();
- String new_password = newpassword.getText().toString();
- String ack_password = ackpassword.getText().toString();
+ String old_password = oldPassword.getText().toString();
+ String new_password = newPassword.getText().toString();
+ String ack_password = ackPassword.getText().toString();
SharedPreferences pref=getSharedPreferences("user management",MODE_PRIVATE);
String login_password=pref.getString("password","");
if(old_password.equals("")==true || new_password.equals("")==true || ack_password.equals("")==true) {
Toast.makeText(ChangedLoginPassword.this, "密码不能为空", Toast.LENGTH_SHORT).show();
}else if (new_password.equals(ack_password) == false) {
Toast.makeText(ChangedLoginPassword.this, "新建密码与重复密码不匹配,请重新输入密码", Toast.LENGTH_SHORT).show();
- ackpassword.setText("");
+ ackPassword.setText("");
}else if(old_password.equals(login_password) == false){
Toast.makeText(ChangedLoginPassword.this, "原有密码错误,请重新输入密码", Toast.LENGTH_SHORT).show();
- oldpassword.setText("");
+ oldPassword.setText("");
}
else if (new_password.equals(ack_password) == true && old_password.equals(login_password) == true){
SharedPreferences.Editor editor=getSharedPreferences("user management", MODE_PRIVATE).edit();
diff --git a/src/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java b/src/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java
index 2c47ba4..a1153e1 100644
--- a/src/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java
+++ b/src/app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java
@@ -74,10 +74,10 @@ public class DateTimePickerDialog extends AlertDialog implements OnClickListener
private void updateTitle(long date) {
int flag =
- DateUtils.FORMAT_SHOW_YEAR |
- DateUtils.FORMAT_SHOW_DATE |
- DateUtils.FORMAT_SHOW_TIME;
- flag |= mIs24HourView ? DateUtils.FORMAT_24HOUR : DateUtils.FORMAT_24HOUR;
+ DateUtils.FORMAT_SHOW_YEAR |
+ DateUtils.FORMAT_SHOW_DATE |
+ DateUtils.FORMAT_SHOW_TIME;
+ flag |= mIs24HourView ? DateUtils.FORMAT_24HOUR : DateUtils.FORMAT_12HOUR;
setTitle(DateUtils.formatDateTime(this.getContext(), date, flag));
}
diff --git a/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java b/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
index 19ea75e..df6210f 100644
--- a/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
+++ b/src/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java
@@ -400,65 +400,6 @@ public class NoteEditActivity extends Activity implements OnClickListener,
}
-// public static SpannableStringBuilder getWebLinkStyle(CharSequence text, final Context context) {
-// if (text instanceof Spannable) {
-// Log.i(TAG, "getWebLinkStyle: working");
-// int end = text.length();
-// Spannable sp = (Spannable) text;
-// URLSpan urls[] = sp.getSpans(0, end, URLSpan.class);
-// SpannableStringBuilder style = new SpannableStringBuilder(text);
-// style.clearSpans();
-// for (final URLSpan urlSpan : urls) {
-// ClickableSpan myURLSpan = new ClickableSpan() {
-// @Override
-// public void onClick(@NonNull View view) {
-// if (urlSpan.getURL().startsWith("http")) {
-//
-// } else {
-// Log.i(TAG, "onClick: working");
-// String number = urlSpan.getURL();
-// if (number.contains(":")) {
-// number = number.split(":")[1];
-// }
-// //showBottomSheetDialog(context, number);
-// }
-// }
-// };
-// style.setSpan(myURLSpan, sp.getSpanStart(urlSpan),
-// sp.getSpanEnd(urlSpan),
-// Spannable.SPAN_EXCLUSIVE_INCLUSIVE);
-// }
-// return style;
-// }
-// return null;
-// }
-
-
-// public static void showBottomSheetDialog(Context context, final String number) {
-// BottomSheetDialog dialog = new BottomSheetDialog(context);
-// View dialogView = LayoutInflater.from(context).inflate(R.layout.dialog_bottom, null);
-// TextView tvTitle = dialogView.findViewById(R.id.tv_title);
-// tvTitle.setText(String.format("%s\n可能是一个电话号码或者其他联系方式,你可以", number));
-// TextView tvCall = dialogView.findViewById(R.id.tv_call);
-// tvCall.setOnClickListener(view -> {
-// Intent dialIntent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + number));
-// context.startActivity(dialIntent);
-// dialog.dismiss();
-// });
-// TextView tvCopty = dialogView.findViewById(R.id.tv_copy);
-// tvCopty.setOnClickListener(view -> {
-// ClipboardManager copy =
-// (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
-// copy.setText(number);
-// dialog.dismiss();
-// ToastHelper.toast("已复制到剪切板");
-// });
-// TextView tvCancel = dialogView.findViewById(R.id.tv_cancel);
-// tvCancel.setOnClickListener(view -> dialog.dismiss());
-// dialog.setContentView(dialogView);
-// dialog.show();
-// }
-
@Override //activity准备和用户进行交互的时候调用
protected void onResume() {
super.onResume();
@@ -498,12 +439,10 @@ public class NoteEditActivity extends Activity implements OnClickListener,
//p = Pattern.compile("\\d{2}");//在这里,编译成一个正则。
Matcher m ;
m = p.matcher(mWorkingNote.getContent());//获得匹配
- String res = "";
String number = "";
SpannableStringBuilder ssb = new SpannableStringBuilder(mWorkingNote.getContent());
while(m.find()){ //注意这里,是while不是if
number = m.group();
- System.out.println("res =" + number);
final String finalNumber = number;
ssb.setSpan(new Clickable(new View.OnClickListener() {
@Override
diff --git a/src/app/src/main/java/net/micode/notes/ui/SearchActivity.java b/src/app/src/main/java/net/micode/notes/ui/SearchActivity.java
index 6fa55a0..f0d924f 100644
--- a/src/app/src/main/java/net/micode/notes/ui/SearchActivity.java
+++ b/src/app/src/main/java/net/micode/notes/ui/SearchActivity.java
@@ -163,12 +163,7 @@ public class SearchActivity extends Activity {
//在活动on start时会调用,在打开一个文件夹时会调用,在on backpress时会调用
// asc是指定列按升序排列(从小到大),desc则是指定列按降序排列(从大到小排列)
private void startAsyncNotesListQuery() {
- String selection = (mCurrentFolderId == Notes.ID_ROOT_FOLDER) ? ROOT_FOLDER_SELECTION
- : NORMAL_SELECTION;
-// mBackgroundQueryHandler.startQuery(FOLDER_NOTE_LIST_QUERY_TOKEN, null,
-// Notes.CONTENT_NOTE_URI, NoteItemData.PROJECTION, search_note_SELECTION, new String[]{"4","6"},
-// NoteColumns.TYPE + " DESC," + NoteColumns.ID + " ASC");
Log.i(TAG, "startAsyncNotesListQuery: length is " + Search_NoteIdArray.length );
String search_noteid = "";
for (int i=0;i