运行原项目

wlx_real_branch
ynmlzdwsp 1 year ago
commit 615aba5b03

15
.gitignore vendored

@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties

8
.idea/.gitignore vendored

@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="FrameworkDetectionExcludesConfiguration">
<file type="web" url="file://$PROJECT_DIR$" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

@ -0,0 +1,21 @@
>
java:S1604t"(Make this anonymous inner class a lambda(Éãî
V java:S125"<This block of commented-out lines of code should be removed.(Í<C38D>¸ýÿÿÿÿ

java:S3008""eRename this field "GTASK_SYNC_NOTIFICATION_ID" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ëíÅÍúÿÿÿÿ
L
java:S1874 "1Remove this use of "AsyncTask"; it is deprecated.(¯ÚÔËúÿÿÿÿ
N
java:S3878="8Remove this array creation and simply pass the elements.(‘Àߎ
M
java:S1874="7Remove this use of "publishProgress"; it is deprecated.(‘Àߎ
C
java:S1172B".Remove this unused method parameter "content".(ÖÔ¥R
K
java:S1874E"0Remove this use of "defaults"; it is deprecated.(±æÝÈûÿÿÿÿ
V java:S125Q"<This block of commented-out lines of code should be removed.(ëœôùþÿÿÿÿ
e
java:S1874^"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ë•·ÿÿÿÿÿ
e
java:S1874f"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(÷ችûÿÿÿÿ

@ -0,0 +1,11 @@
s
java:S4144Á"\Update this method so that its implementation is not identical to "getParentId" on line 185.(ø¦¯ÿ
>
java:S1125T"(Remove the unnecessary boolean literals.(ú«€É
m
java:S3776p"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(Ñý¨úýÿÿÿÿ
C
java:S1125q"(Remove the unnecessary boolean literals.(¢´—Öÿÿÿÿÿ
>
java:S1125r"(Remove the unnecessary boolean literals.(ãêÛì

@ -0,0 +1,2 @@
a java:S101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.(<28>

@ -0,0 +1,27 @@
v
java:S11927"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(ƒþÞ¿ùÿÿÿÿ
c
java:S1192["HDefine a constant instead of duplicating this literal " BEGIN " 4 times.(ÕêïŠþÿÿÿÿ
a
java:S1192j"FDefine a constant instead of duplicating this literal "=old." 6 times.(”»ÎÔüÿÿÿÿ
c
java:S1192Ž"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.(ÕêïŠþÿÿÿÿ
t
java:S11920"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.(çÀœª
_
java:S1192^"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(Øëž°
\
java:S1192^"FDefine a constant instead of duplicating this literal "=new." 6 times.(Øëž°
g
java:S1192"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(“áâB
c
java:S1192]"HDefine a constant instead of duplicating this literal " SET " 8 times.(Õ÷Ë“üÿÿÿÿ
`
java:S1192\"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.(ìó¥Ä
<EFBFBD>
java:S11923"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.(˜›£·
`
java:S2583Å"DChange this condition so that it does not always evaluate to "false"(<28>Úì£ûÿÿÿÿ
Y
java:S1214#"CMove constants defined in this interfaces to another class or enum.(áÅÔö

@ -0,0 +1,39 @@
t
java:S22930"YReplace the type specification in this constructor call with the diamond operator ("<>").(àÉ™âùÿÿÿÿ
o
java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(œ€ÄÑ
o
java:S2293m"YReplace the type specification in this constructor call with the diamond operator ("<>").(¾<>Ȫ
J
java:S1066U"/Merge this if statement with the enclosing one.(ßÚ§µúÿÿÿÿ
ˆ
java:S1319\"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(“Ÿóßûÿÿÿÿ
ˆ
java:S1319l"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(•Ñòóýÿÿÿÿ
j
java:S1104*"TMake widgetId a static final constant or non-public and provide accessors if needed.(åÇŽ<C387>
q
java:S1104+"VMake widgetType a static final constant or non-public and provide accessors if needed.(ö漬þÿÿÿÿ
C
java:S5411_"(Use a primitive boolean expression here.(ɯÀÐüÿÿÿÿ
C
java:S5411o"(Use a primitive boolean expression here.(ɯÀÐüÿÿÿÿ
D
java:S5411"(Use a primitive boolean expression here.( „Œ¢ùÿÿÿÿ
7
java:S1116,"Remove this empty statement.(ôŸŽìúÿÿÿÿ
D
java:S1874/".Remove this use of "<init>"; it is deprecated.(ÌÖçü
J
java:S2864^"4Iterate over the "entrySet" instead of the "keySet".(਷â
B
java:S1125_"'Remove the unnecessary boolean literal.(ɯÀÐüÿÿÿÿ
J
java:S2864n"4Iterate over the "entrySet" instead of the "keySet".(਷â
B
java:S1125o"'Remove the unnecessary boolean literal.(ɯÀÐüÿÿÿÿ
A
java:S1168|"+Return an empty collection instead of null.(¥¹ï<C2B9>
C
java:S1125"'Remove the unnecessary boolean literal.( „Œ¢ùÿÿÿÿ

@ -0,0 +1,2 @@
b java:S101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.(–¿ÖÜ

@ -0,0 +1,8 @@
h java:S100("NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¦Ÿ¦×ýÿÿÿÿ
x
java:S3923P"]This conditional operation returns the same value whether the condition is "true" or "false".(Ýç®Üÿÿÿÿÿ
P
java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(Ýç®Üÿÿÿÿÿ
P
java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(Ýç®Üÿÿÿÿÿ

@ -0,0 +1,27 @@
t
java:S22932"YReplace the type specification in this constructor call with the diamond operator ("<>").(áºÐ»ûÿÿÿÿ
t
java:S2293Z"YReplace the type specification in this constructor call with the diamond operator ("<>").(áºÐ»ûÿÿÿÿ
u
java:S2293Ò"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ûª¡úÿÿÿÿ
b
java:S1192D"GDefine a constant instead of duplicating this literal "%s: %s" 4 times.(ÇÇ÷«ùÿÿÿÿ
c
java:S1192x"HDefine a constant instead of duplicating this literal "=? AND " 4 times.(„¼¹<C2BC>úÿÿÿÿ
J
java:S1066~"/Merge this if statement with the enclosing one.(䲜¼øÿÿÿÿ
v
java:S1319("`The type of "ids" should be an interface such as "Set" rather than the implementation "HashSet".(îîè“
{
java:S1319S"`The type of "ids" should be an interface such as "Set" rather than the implementation "HashSet".(󆱋ÿÿÿÿÿ

java:S1319È"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(ÛëÈðýÿÿÿÿ
U
java:S1118&":Add a private constructor to hide the implicit public one.(³¡¸<C2A1>ÿÿÿÿÿ
T
java:S1155-">Use isEmpty() to check whether the collection is empty or not.(´¤”Ó
Z
java:S2147E"DCombine this catch with the one at line 67, which has the same body.(æš©›
[
java:S2147l"ECombine this catch with the one at line 106, which has the same body.(æš©›

@ -0,0 +1,3 @@
O
java:S59932"9Change the visibility of this constructor to "protected".(»Õí©

@ -0,0 +1,29 @@
g
java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(öÛ«°þÿÿÿÿ
X
java:S18747"=Remove this use of "FLAG_SHOW_WHEN_LOCKED"; it is deprecated.(÷±µÁúÿÿÿÿ
Q
java:S1874;";Remove this use of "FLAG_TURN_SCREEN_ON"; it is deprecated.(ƒìýè
Z
java:S1874="?Remove this use of "FLAG_LAYOUT_INSET_DECOR"; it is deprecated.(‹”‡Ñúÿÿÿÿ
H
java:S1874X"2Remove this use of "isScreenOn"; it is deprecated.(¤® ²
O
java:S1874b":Remove this use of "setAudioStreamType"; it is deprecated.(¡Ìé0
U
java:S1874d":Remove this use of "setAudioStreamType"; it is deprecated.(†Å¨ªùÿÿÿÿ
`
java:S2147n"ECombine this catch with the one at line 107, which has the same body.(ÿëÛßúÿÿÿÿ
[
java:S2147q"ECombine this catch with the one at line 110, which has the same body.(‚ùïÄ
[
java:S2147t"ECombine this catch with the one at line 113, which has the same body.(ï­£Ä
M
java:S1135l"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
M
java:S1135o"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
M
java:S1135r"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
M
java:S1135u"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ

@ -0,0 +1,31 @@
u
java:S2293Ï"YReplace the type specification in this constructor call with the diamond operator ("<>").(æå<C3A6>„þÿÿÿÿ
a
java:S2184t"FCast one of the operands of this multiplication operation to a "long".(⣛Úùÿÿÿÿ
\
java:S3516Ó"9Refactor this method to not always return the same value.(É„ñ€þÿÿÿÿ8ÕáüÚª1
[
java:S1874L"9Remove this use of "DefaultHttpClient"; it is deprecated.(믥ìþÿÿÿÿ8ÕáüÚª1
H
java:S1874è"2Remove this use of "HttpParams"; it is deprecated.(ŸÅE
T
java:S1874è"7Remove this use of "BasicHttpParams"; it is deprecated.(ŸÅE8åáüÚª1
X
java:S1874é"<Remove this use of "HttpConnectionParams"; it is deprecated.(­Ú¬Ùùÿÿÿÿ
X
java:S1874é"<Remove this use of "setConnectionTimeout"; it is deprecated.(­Ú¬Ùùÿÿÿÿ
X
java:S1874ê"<Remove this use of "HttpConnectionParams"; it is deprecated.(åÙµÌûÿÿÿÿ
P
java:S1874ê"4Remove this use of "setSoTimeout"; it is deprecated.(åÙµÌûÿÿÿÿ
V
java:S1874ë"9Remove this use of "DefaultHttpClient"; it is deprecated.(ÛÔÇ/8åáüÚª1
]
java:S1874î":Remove this use of "HttpProtocolParams"; it is deprecated.(Õêøÿÿÿÿÿ8åáüÚª1
F
java:S2093"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ
c
java:S2147Ý"ECombine this catch with the one at line 345, which has the same body.(ï­£Ä8ôáüÚª1
c
java:S2147œ"ECombine this catch with the one at line 536, which has the same body.(ï­£Ä8úáüÚª1

@ -0,0 +1,14 @@
o
java:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(§þ¢¾
D
java:S1604Î"(Make this anonymous inner class a lambda(¯<>Àžÿÿÿÿÿ
f
java:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(ãÁð™øÿÿÿÿ
M
java:S1135c"2Complete the task associated to this TODO comment.(ƒŠ® úÿÿÿÿ
< java:S131h""Add a default case to this switch.(ãÁð™øÿÿÿÿ
^
java:S1126­"BReplace this if-then-else statement by a single method invocation.(‚å¿¥ûÿÿÿÿ
P
java:S2864Â"4Iterate over the "entrySet" instead of the "keySet".(ΚŸ<C5A1>ûÿÿÿÿ

@ -0,0 +1,63 @@
t
java:S2293W"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
t
java:S2293`"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
t
java:S2293i"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
o
java:S2293q"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
p
java:S2293Ï"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
?
java:S1604ˆ"(Make this anonymous inner class a lambda(ά¯”
?
java:S1604Ý"(Make this anonymous inner class a lambda(××ß’
q
java:S1104N"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ
r
java:S1104P"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
r
java:S1104R"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
s
java:S1104T"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
n
java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
n
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
W
java:S1874Ø"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ”<C2AF>
\
java:S1874þ"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(Ò£ú¿ÿÿÿÿÿ
O
java:S1874<18>"9Remove this use of "setTextAppearance"; it is deprecated.(½õË(
K
java:S2864˜"4Iterate over the "entrySet" instead of the "keySet".(­Ô‡ï
N
java:S1135¤"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
8
java:S1116¸"Remove this empty statement.(ôŸŽìúÿÿÿÿ
X
java:S1126å"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
8
java:S1116"Remove this empty statement.(ôŸŽìúÿÿÿÿ
P
java:S1874ƒ"9Remove this use of "PreferenceManager"; it is deprecated.(ª¦úÅ
Z
java:S1874ƒ"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(ª¦úÅ
U
java:S1874À"9Remove this use of "setTextAppearance"; it is deprecated.(ÑëÊäüÿÿÿÿ
f
java:S1874È"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(œƒƒ©ùÿÿÿÿ
Q
java:S1874Î"5Remove this use of "onBackPressed"; it is deprecated.(<28>Ñàÿÿÿÿÿ
G
java:S1874Ï"0Remove this use of "getColor"; it is deprecated.(è¤ÔÃ
d
java:S3252Ñ"MUse static access with "android.text.Spanned" for "SPAN_INCLUSIVE_EXCLUSIVE".(ŸÍÃó
T
java:S1874Ç"=Remove this use of "EXTRA_SHORTCUT_INTENT"; it is deprecated.(·Ã°Ÿ
R
java:S1874È";Remove this use of "EXTRA_SHORTCUT_NAME"; it is deprecated.(ÒÀ‘ç
[
java:S1874Ê"DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(§éǾ

@ -0,0 +1,5 @@
3
java:S2386$"Make this member "protected".(óð<C3B3>ß
h
java:S3776H"RRefactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.(ʃëï

@ -0,0 +1,9 @@
m
java:S37763"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(üßú–ùÿÿÿÿ
O
java:S1874?"9Remove this use of "setTextAppearance"; it is deprecated.(¤ñÝ×
O
java:S1874F"9Remove this use of "setTextAppearance"; it is deprecated.(Á†<C381>ö
O
java:S1874P"9Remove this use of "setTextAppearance"; it is deprecated.(¤ñÝ×

@ -0,0 +1,13 @@
i
java:S1192Ž"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(¶ª¦þüÿÿÿÿ
M
java:S1153ž"1Directly append the argument of String.valueOf().(œËߦýÿÿÿÿ

java:S3008L"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ
_
java:S1659"CDeclare "noteId" and all following declarations on a separate line.(Ÿàؘøÿÿÿÿ
T
java:S2130É"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ
N
java:S1135­"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ

@ -0,0 +1,11 @@
>
java:S1604C"(Make this anonymous inner class a lambda(ñ×®è
C
java:S1604L"(Make this anonymous inner class a lambda(Ò´Ñ<C2B4>ÿÿÿÿÿ
C
java:S1604v"(Make this anonymous inner class a lambda(×ÉÑ‘úÿÿÿÿ
?
java:S1604"(Make this anonymous inner class a lambda(À¸èž
V
java:S3398ß"?Move this method into the anonymous class declared at line 118.( šåš

@ -0,0 +1,11 @@
F
java:S1066Á"/Merge this if statement with the enclosing one.(â<>®¾
3
java:S2386A"Make this member "protected".(”µåÓ
8
java:S2386K"Make this member "protected".(Ñ㳎ýÿÿÿÿ
X
java:S1126Ü"AReplace this if-then-else statement by a single return statement.(¶ø ˜
?
java:S1125ª"(Remove the unnecessary boolean literals.(ÍÛì•

@ -0,0 +1,3 @@
?xml:S125#"Remove this commented out code.(žÕ˜Ëûÿÿÿÿ8¿ø˜Üª1
R xml:S55943"1Implement permissions on this exported component.(ˆ©…»ùÿÿÿÿ8”<E2809D>Ûª1

@ -0,0 +1,5 @@
2
java:S2386+"Make this member "protected".(¤íÂX
n
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(®‘‡§øÿÿÿÿ

@ -0,0 +1,11 @@
t
java:S2293)"YReplace the type specification in this constructor call with the diamond operator ("<>").(<28>½ñäÿÿÿÿÿ
P
java:S1118":Add a private constructor to hide the implicit public one.(ãÛÒÛ
q
java:S3252!"VUse static access with "android.provider.ContactsContract$DataColumns" for "MIMETYPE".(‡ù¯–ÿÿÿÿÿ
r
java:S3252""\Use static access with "android.provider.ContactsContract$DataColumns" for "RAW_CONTACT_ID".(Ðäç÷
t
java:S32524"^Use static access with "android.provider.ContactsContract$ContactsColumns" for "DISPLAY_NAME".(Úÿ†Ø

@ -0,0 +1,15 @@
k java:S116w"VRename this field "TEXT_FORMAT" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ñ›–¼
i
java:S3776¨"RRefactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.(œÃÁí
h
java:S3776Ý"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(ì´ê
\
java:S2147°"ECombine this catch with the one at line 301, which has the same body.(ß<>È´
\
java:S2147Ð"ECombine this catch with the one at line 334, which has the same body.(ï­£Ä
] java:S899Ë"BDo something with the "boolean" value returned by "createNewFile".(Ð<>Íùÿÿÿÿ
9
java:S3398H"#Move this method into "TextExport".(…´<C2B4>
?
java:S3398»"#Move this method into "TextExport".(¨ä¿ÿýÿÿÿÿ

@ -0,0 +1,13 @@
f
java:S11929"KDefine a constant instead of duplicating this literal "content://" 4 times.(š¨ú¯üÿÿÿÿ
U
java:S11181":Add a private constructor to hide the implicit public one.(ž’Í“úÿÿÿÿ
^
java:S1214@"CMove constants defined in this interfaces to another class or enum.(É⸫úÿÿÿÿ
Z
java:S1214ª"CMove constants defined in this interfaces to another class or enum.(ŠÉôŸ
V
java:S1118ô":Add a private constructor to hide the implicit public one.(<28>ˆþÿÿÿÿ
Q
java:S1118":Add a private constructor to hide the implicit public one.(߀°•

@ -0,0 +1,35 @@
o
java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(²¿›ž
t
java:S2293^"YReplace the type specification in this constructor call with the diamond operator ("<>").(‘´ÂÞþÿÿÿÿ
t
java:S2293_"YReplace the type specification in this constructor call with the diamond operator ("<>").(±€šˆþÿÿÿÿ
o
java:S2293a"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÈüùÌ
t
java:S2293b"YReplace the type specification in this constructor call with the diamond operator ("<>").(ðˆâ³ùÿÿÿÿ
t
java:S2293c"YReplace the type specification in this constructor call with the diamond operator ("<>").(ž’»Ðýÿÿÿÿ
]
java:S1192©"FDefine a constant instead of duplicating this literal " DESC" 3 times.(©ÍÔ±
K
java:S1066ˆ"/Merge this if statement with the enclosing one.(¾¶†–þÿÿÿÿ
K
java:S1066Õ"/Merge this if statement with the enclosing one.(˼֓ùÿÿÿÿ
i
java:S3776«"RRefactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed.(«Ã¾á
I
java:S1905Á"-Remove this unnecessary cast to "JSONObject".(ï½€—ýÿÿÿÿ
C
java:S1905ç"-Remove this unnecessary cast to "JSONObject".(Ø›¶
i
java:S3776ú"RRefactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.(ðúæŠ
n
java:S3776â"RRefactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.(…Ë°±ýÿÿÿÿ
n
java:S3776<18>"RRefactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed.(ÿ»É¸ûÿÿÿÿ
n
java:S3776î"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ƶؠüÿÿÿÿ
G
java:S1172î"+Remove this unused method parameter "node".(ƶؠüÿÿÿÿ

@ -0,0 +1,105 @@
p
java:S2293 "YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
>
java:S1604Š"(Make this anonymous inner class a lambda(—̺V
?
java:S1604æ"(Make this anonymous inner class a lambda(ά¯”
?
java:S1604Ý"(Make this anonymous inner class a lambda(¿Ü´ã
D
java:S1604÷"(Make this anonymous inner class a lambda(ˆÐï<C390>øÿÿÿÿ
?
java:S1604ÿ"(Make this anonymous inner class a lambda(øÄì‡
?
java:S1604è"(Make this anonymous inner class a lambda(Û±¼ 
?
java:S1604"(Make this anonymous inner class a lambda(ά¯”
g
java:S1301Ï"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ
7
java:S1116`"Remove this empty statement.(ôŸŽìúÿÿÿÿ
a
java:S1124ˆ"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ìѾk
n
java:S3776¡"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ
2
java:S3626²"Remove this redundant jump.(ûÁÝ…
2
java:S3626"Remove this redundant jump.(ûÁÝ…
2
java:S3626Ê"Remove this redundant jump.(ûÁÝ…
P
java:S1874¢"9Remove this use of "PreferenceManager"; it is deprecated.(­©Ð
Z
java:S1874¢"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(­©Ð
N
java:S1135¼"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
F
java:S2093¦"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ
o
java:S1450ð"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò
j
java:S1450ï"SRemove the "menu" field and declare it as a local variable in the relevant methods.(î·öÁ
n
java:S3252ì"RUse static access with "android.widget.AbsListView" for "MultiChoiceModeListener".(¦Ûî„úÿÿÿÿ
N
java:S1135§"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ
N
java:S1135¬"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ
F java:S106·"+Replace this use of System.out by a logger.(×â…Ðþÿÿÿÿ
R java:S125¹"<This block of commented-out lines of code should be removed.(Õ͉ß
Q java:S125À"<This block of commented-out lines of code should be removed.(÷Í®
W java:S125Â"<This block of commented-out lines of code should be removed.(Ðýÿÿÿÿ
U
java:S1874ÿ"9Remove this use of "getDefaultDisplay"; it is deprecated.(ĸ¬Ìýÿÿÿÿ
M
java:S1874"1Remove this use of "getHeight"; it is deprecated.(·¡ªÃýÿÿÿÿ
8
java:S1116"Remove this empty statement.(ôŸŽìúÿÿÿÿ
i
java:S3776õ"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí
C
java:S1874ö".Remove this use of "<init>"; it is deprecated.(ýî?
? java:S108ü")Either remove or fill this block of code.(žûÊ¥
K
java:S1874"/Remove this use of "execute"; it is deprecated.( å«<C3A5>ûÿÿÿÿ
S
java:S1874Û"7Remove this use of "toggleSoftInput"; it is deprecated.(© …áúÿÿÿÿ
O
java:S1874Û"3Remove this use of "SHOW_FORCED"; it is deprecated.(© …áúÿÿÿÿ
h
java:S3776ä"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#
N
java:S1135¦"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ
^
java:S1126«"BReplace this if-then-else statement by a single method invocation.(玒¦ýÿÿÿÿ
N
java:S1135³"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ
f
java:S1874º"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(œƒƒ©ùÿÿÿÿ
A java:S106¼"+Replace this use of System.out by a logger.(›ÚΊ
F java:S106Í"+Replace this use of System.out by a logger.(™‘‹£þÿÿÿÿ
Q
java:S1874Î"5Remove this use of "onBackPressed"; it is deprecated.(<28>Ñàÿÿÿÿÿ
J
java:S1874ß".Remove this use of "<init>"; it is deprecated.(ЧðÛýÿÿÿÿ
f
java:S1874ç"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(÷ችûÿÿÿÿ
K
java:S1874"/Remove this use of "execute"; it is deprecated.( å«<C3A5>ûÿÿÿÿ
h
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb
d java:S100Ý"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( •ÒŽ
B
java:S1172Ý"+Remove this unused method parameter "view".( •ÒŽ
G
java:S3398µ"0Move this method into "OnListItemClickListener".(‘ðð¡
A
java:S3398º"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ
<
java:S3398õ"%Move this method into "ModeCallback".(ãìîí
K
java:S3398Ù"/Move this method into "BackgroundQueryHandler".(—÷õŽüÿÿÿÿ

@ -0,0 +1,3 @@
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ð«¦í

@ -0,0 +1,95 @@
P
java:S1118":Add a private constructor to hide the implicit public one.(ªµ<C2AA><C2B5>
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(”Úùµþÿÿÿÿ
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ð㘱
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(å¬å³
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(¸œÏ<C593>
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(¶ÎƉýÿÿÿÿ
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ùùŸÕ
`
java:S1124!"EReorder the modifiers to comply with the Java Language Specification.(íâúÓÿÿÿÿÿ
[
java:S1124#"EReorder the modifiers to comply with the Java Language Specification.(â¹âæ
`
java:S1124%"EReorder the modifiers to comply with the Java Language Specification.(™¹å†þÿÿÿÿ
`
java:S1124'"EReorder the modifiers to comply with the Java Language Specification.(Ëãßìüÿÿÿÿ
`
java:S1124)"EReorder the modifiers to comply with the Java Language Specification.(‚šÛ²üÿÿÿÿ
`
java:S1124+"EReorder the modifiers to comply with the Java Language Specification.(ºãÌýþÿÿÿÿ
[
java:S1124-"EReorder the modifiers to comply with the Java Language Specification.(«è¶ó
[
java:S1124/"EReorder the modifiers to comply with the Java Language Specification.(Ó<>•·
[
java:S11241"EReorder the modifiers to comply with the Java Language Specification.(ùœª”
[
java:S11243"EReorder the modifiers to comply with the Java Language Specification.(ŸÌ¥’
[
java:S11245"EReorder the modifiers to comply with the Java Language Specification.(–Æ‘õ
Z
java:S11247"EReorder the modifiers to comply with the Java Language Specification.(—ùž
`
java:S11249"EReorder the modifiers to comply with the Java Language Specification.(£úÿÿÿÿ
Z
java:S1124;"EReorder the modifiers to comply with the Java Language Specification.(ûÉøK
`
java:S1124="EReorder the modifiers to comply with the Java Language Specification.(´ÙøÜøÿÿÿÿ
[
java:S1124?"EReorder the modifiers to comply with the Java Language Specification.(Ö«¦î
Z
java:S1124A"EReorder the modifiers to comply with the Java Language Specification.(ëí‚$
[
java:S1124C"EReorder the modifiers to comply with the Java Language Specification.(±‚Çð
`
java:S1124E"EReorder the modifiers to comply with the Java Language Specification.(èÁø°ÿÿÿÿÿ
[
java:S1124G"EReorder the modifiers to comply with the Java Language Specification.(¬ôÿ<C3B4>
[
java:S1124I"EReorder the modifiers to comply with the Java Language Specification.(ì૵
`
java:S1124K"EReorder the modifiers to comply with the Java Language Specification.(âÖ<C3A2>îýÿÿÿÿ
[
java:S1124M"EReorder the modifiers to comply with the Java Language Specification.(¡¦¡Æ
`
java:S1124O"EReorder the modifiers to comply with the Java Language Specification.(‘™¾Ðüÿÿÿÿ
`
java:S1124Q"EReorder the modifiers to comply with the Java Language Specification.(­<>—Òøÿÿÿÿ
[
java:S1124S"EReorder the modifiers to comply with the Java Language Specification.(ž×Éô
[
java:S1124U"EReorder the modifiers to comply with the Java Language Specification.(ø°Í´
`
java:S1124W"EReorder the modifiers to comply with the Java Language Specification.(¼Ô£¹øÿÿÿÿ
[
java:S1124Y"EReorder the modifiers to comply with the Java Language Specification.(ŠÉ΢
`
java:S1124["EReorder the modifiers to comply with the Java Language Specification.(äöÅŒýÿÿÿÿ
`
java:S1124]"EReorder the modifiers to comply with the Java Language Specification.(Á¨È¨úÿÿÿÿ
[
java:S1124_"EReorder the modifiers to comply with the Java Language Specification.(—Ú÷Œ
[
java:S1124a"EReorder the modifiers to comply with the Java Language Specification.(¼ÕÍ€
`
java:S1124c"EReorder the modifiers to comply with the Java Language Specification.(íõâûÿÿÿÿ
`
java:S1124e"EReorder the modifiers to comply with the Java Language Specification.(õÑæÞÿÿÿÿÿ
[
java:S1124g"EReorder the modifiers to comply with the Java Language Specification.(´Æ’µ
`
java:S1124i"EReorder the modifiers to comply with the Java Language Specification.(û³˜µÿÿÿÿÿ
`
java:S1124k"EReorder the modifiers to comply with the Java Language Specification.(<28>ìÝÚÿÿÿÿÿ
Z
java:S1124m"EReorder the modifiers to comply with the Java Language Specification.(場-
`
java:S1124o"EReorder the modifiers to comply with the Java Language Specification.(éÙýâûÿÿÿÿ

@ -0,0 +1,35 @@
P
java:S1118":Add a private constructor to hide the implicit public one.(§Ú¦“
P
java:S1118*":Add a private constructor to hide the implicit public one.(¦¬ÿ”
[
java:S1124+"EReorder the modifiers to comply with the Java Language Specification.(‰ßÆ“
`
java:S11243"EReorder the modifiers to comply with the Java Language Specification.(¼Þý·þÿÿÿÿ
O
java:S1874E"9Remove this use of "PreferenceManager"; it is deprecated.(º—‡ê
Y
java:S1874E"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(º—‡ê
D
java:S2140G")Use "java.util.Random.nextInt()" instead.(Åðêôþÿÿÿÿ
U
java:S1118M":Add a private constructor to hide the implicit public one.(øÕŪþÿÿÿÿ
`
java:S1124N"EReorder the modifiers to comply with the Java Language Specification.(»ÔÌôüÿÿÿÿ
`
java:S1124V"EReorder the modifiers to comply with the Java Language Specification.(ÓþûÐúÿÿÿÿ
`
java:S1124^"EReorder the modifiers to comply with the Java Language Specification.(òÄó²ýÿÿÿÿ
[
java:S1124f"EReorder the modifiers to comply with the Java Language Specification.(ƒϚ
Q
java:S1118ƒ":Add a private constructor to hide the implicit public one.(ÜÖ¹Ø
a
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(®íç±þÿÿÿÿ
a
java:S1124<18>"EReorder the modifiers to comply with the Java Language Specification.(ªª‡›úÿÿÿÿ
V
java:S1118<18>":Add a private constructor to hide the implicit public one.(ŽÞëÿùÿÿÿÿ
\
java:S1124ž"EReorder the modifiers to comply with the Java Language Specification.(<28>Þúí

@ -0,0 +1,3 @@
i
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(´ÇŽª

@ -0,0 +1,3 @@
>
java:S1604)"(Make this anonymous inner class a lambda(€ÖÊ©

@ -0,0 +1,59 @@
?
java:S1604"(Make this anonymous inner class a lambda(ž§¤É
?
java:S1604¤"(Make this anonymous inner class a lambda(ðåܨ
?
java:S1604«"(Make this anonymous inner class a lambda(ðåܨ
?
java:S1604ç"(Make this anonymous inner class a lambda(ά¯”
?
java:S1604ô"(Make this anonymous inner class a lambda(³Ú…Î
?
java:S1604"(Make this anonymous inner class a lambda(ôéŽÿ
?
java:S1604²"(Make this anonymous inner class a lambda(Éãî
?
java:S1604Í"(Make this anonymous inner class a lambda(Éãî
g
java:S1301ú"KReplace this "switch" statement by "if" statements to increase readability.(øå´¡ÿÿÿÿÿ
U
java:S18743":Remove this use of "PreferenceActivity"; it is deprecated.(ç½Úàøÿÿÿÿ
P
java:S1874@":Remove this use of "PreferenceCategory"; it is deprecated.(ÜΘÓ
`
java:S1874I"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ÍΘÇ
K
java:S1874J"0Remove this use of "onCreate"; it is deprecated.(È¢Õ–úÿÿÿÿ
P
java:S1874P":Remove this use of "PreferenceCategory"; it is deprecated.(‰´Òø
L
java:S1874P"6Remove this use of "findPreference"; it is deprecated.(‰´Òø
I
java:S1874X"3Remove this use of "getListView"; it is deprecated.(ôدé
h
java:S3776\"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(Ù«µ§
`
java:S1874x"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ÍÙ÷¢
G
java:S1874|"1Remove this use of "onDestroy"; it is deprecated.(ÍÊ·´
H
java:S1874"1Remove this use of "removeAll"; it is deprecated.(<28>€ûœ
N
java:S1874"2Remove this use of "Preference"; it is deprecated.(ƒù¬ ýÿÿÿÿ
N
java:S1874"2Remove this use of "Preference"; it is deprecated.(ƒù¬ ýÿÿÿÿ
G
java:S1874"0Remove this use of "setTitle"; it is deprecated.(<28>ÿœ
N
java:S1874"2Remove this use of "setSummary"; it is deprecated.(÷ÒÙÝûÿÿÿÿ
[
java:S1874"DRemove this use of "setOnPreferenceClickListener"; it is deprecated.(ž§¤É
N
java:S1874"2Remove this use of "Preference"; it is deprecated.(¶®è‰øÿÿÿÿ
Q
java:S1874š"5Remove this use of "addPreference"; it is deprecated.(èÙ†Ýüÿÿÿÿ
a
java:S1874ù"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(<28>ñ”Ò
Q
java:S1161ù":Add the "@Override" annotation above this method signature(<28>ñ”Ò

@ -0,0 +1,13 @@
u
java:S2293½"YReplace the type specification in this constructor call with the diamond operator ("<>").(áºÐ»ûÿÿÿÿ
j
java:S1192?"ODefine a constant instead of duplicating this literal "Wrong note id:" 3 times.(€¨ƒ¦úÿÿÿÿ
\
java:S1126}"AReplace this if-then-else statement by a single return statement.(Æ·¾ôúÿÿÿÿ
i
java:S3776µ"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(<28>¤§²
U
java:S1155ì">Use isEmpty() to check whether the collection is empty or not.(”¥ŠÉ
\
java:S2147õ"ECombine this catch with the one at line 242, which has the same body.(æš©›

@ -0,0 +1,5 @@
t
java:S2293*"YReplace the type specification in this constructor call with the diamond operator ("<>").(¡Ê©ëùÿÿÿÿ
r
java:S3923Ë"[Remove this conditional structure or edit its code blocks so that they're not all the same.(†ÈÔ¡

@ -0,0 +1,27 @@
E
java:S1604/"(Make this anonymous inner class a lambda(«ÑŽð8öµ¤Üª1
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ö<C396>¿ùÿÿÿÿ
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(êŲôûÿÿÿÿ
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(šØ²Ãùÿÿÿÿ
`
java:S1124!"EReorder the modifiers to comply with the Java Language Specification.(°àº¿øÿÿÿÿ
[
java:S1124#"EReorder the modifiers to comply with the Java Language Specification.(ôÕ³Þ
[
java:S1124%"EReorder the modifiers to comply with the Java Language Specification.(ߪäË
[
java:S1124'"EReorder the modifiers to comply with the Java Language Specification.(¹‹¶È
L
java:S2696/"6Make the enclosing method "static" or remove this set.(«ÑŽð
L
java:S26961"6Make the enclosing method "static" or remove this set.(ÙÊãÚ
L
java:S18747"/Remove this use of "execute"; it is deprecated.(¡íŠþ8•¶¤Üª1
L
java:S2696C"6Make the enclosing method "static" or remove this set.(ÙÊãÚ
K
java:S2696e"6Make the enclosing method "static" or remove this set.(„ò<E2809E>

@ -0,0 +1,15 @@
u
java:S2293<18>"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
u
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
u
java:S2293¢"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
2
java:S2386."Make this member "protected".(êÝÐu
n
java:S3776å"RRefactor this method to reduce its Cognitive Complexity from 91 to the 15 allowed.(¸ŸêÉýÿÿÿÿ
h
java:S3776»"RRefactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.(ë®Æ
ã
java:S6541åA "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 116 to 64, Complexity from 51 to 14, Nesting Level from 6 to 2, Number of Variables from 23 to 6.(¸ŸêÉýÿÿÿÿ

@ -0,0 +1,7 @@
3
java:S2386!"Make this member "protected".(±ê™–
D
java:S1874*".Remove this use of "<init>"; it is deprecated.(椱
M
java:S1135+"2Complete the task associated to this TODO comment.(ƒŠ® úÿÿÿÿ

@ -0,0 +1,87 @@
d
4app/src/main/java/net/micode/notes/data/Contact.java,9\a\9a3a19793537958b8b1b03a81985999e22705a2f
b
2app/src/main/java/net/micode/notes/data/Notes.java,a\7\a7641cfac724321d508c2a284223a711011a93f5
p
@app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java,1\e\1eb2363b523dbcae43d3c6e4790c64436af61b13
j
:app/src/main/java/net/micode/notes/data/NotesProvider.java,6\a\6a65e747031f27aef20597b4181148a9fbf963d5
k
;app/src/main/java/net/micode/notes/gtask/data/MetaData.java,c\1\c182d0c9c237ea8a46a92ccaae9bb5c751923a88
g
7app/src/main/java/net/micode/notes/gtask/data/Node.java,3\a\3aac5305cb73bfbdeb8078cd264d04323fa80e92
j
:app/src/main/java/net/micode/notes/gtask/data/SqlData.java,9\3\934a4e2abf19d28a53f6aeb1dcd99248c44b6892
j
:app/src/main/java/net/micode/notes/gtask/data/SqlNote.java,f\1\f1226eeacd46c914d51f3d1a6d6f27377490d2a4
g
7app/src/main/java/net/micode/notes/gtask/data/Task.java,d\1\d187f1271655c3d91661a39fe6de395b6a9f290a
k
;app/src/main/java/net/micode/notes/gtask/data/TaskList.java,e\0\e094aec5c3e1b6f44539adff3114f5a1ad603ddc
~
Napp/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java,5\f\5f6162ca79fcea353b280c5dc84973a9c37d2c74

Oapp/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java,0\f\0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1
p
@app/src/main/java/net/micode/notes/gtask/remote/GTaskClient.java,4\5\4529b3a97b0f3b19b895aa06f23bed63ff38a312
q
Aapp/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java,a\b\ab153b0256bc5f6c194e188cec0b8e327e347a90
b
2app/src/main/java/net/micode/notes/model/Note.java,d\d\dd970bd8ce083850fca1d4d159647ccd110e57cb
i
9app/src/main/java/net/micode/notes/model/WorkingNote.java,8\7\876016634c6642b35109680ccac740dc8271b236
h
8app/src/main/java/net/micode/notes/tool/BackupUtils.java,a\4\a446c87b1013132f8adaf83656b582028e8809af
f
6app/src/main/java/net/micode/notes/tool/DataUtils.java,3\2\32360bf24febc78f20db52498c7576b3d8650d56
m
=app/src/main/java/net/micode/notes/tool/GTaskStringUtils.java,c\4\c42ad3cd6e664963fa1849c760a57d417d500ee7
k
;app/src/main/java/net/micode/notes/tool/ResourceParser.java,c\6\c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f
m
=app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java,3\e\3e688be40dc69cfd1062f41d0fc27fe261a26710
l
<app/src/main/java/net/micode/notes/ui/AlarmInitReceiver.java,0\2\0268ec648e2fc0139b30ed13396174b7392c1ae2
h
8app/src/main/java/net/micode/notes/ui/AlarmReceiver.java,5\8\5836a695995df8fadacfa6409fe8d21d88946842
i
9app/src/main/java/net/micode/notes/ui/DateTimePicker.java,6\c\6cbf8bd9aa98eff862b1dc067330ba66ba4493aa
o
?app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java,2\b\2bfc771e07e87c37d3a76a2c815bc8fb30649798
g
7app/src/main/java/net/micode/notes/ui/DropdownMenu.java,d\1\d1cc822fa9d783a8d4563bf6e139b7ae10de2fb1
m
=app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java,f\9\f9f49497f95afd327db7a7a512612aa1089003d4
k
;app/src/main/java/net/micode/notes/ui/NoteEditActivity.java,5\7\577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
g
7app/src/main/java/net/micode/notes/ui/NoteEditText.java,5\0\503adcf2a0be1ecdb94a15efba4433b6589877b9
g
7app/src/main/java/net/micode/notes/ui/NoteItemData.java,0\8\08c35f02f11c35ae9ebf8db0a482054dfa1cf493
l
<app/src/main/java/net/micode/notes/ui/NotesListActivity.java,a\d\ad72331a1bed265bb9c0fe838faa74dbf69fce32
r
Bapp/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java,d\a\da57ce446af85bbd9aefee65e969869f0cff78b0
q
Aapp/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java,5\8\58052a8597c5f01595e1c849728bcae66c27a1a6
t
Dapp/src/main/java/net/micode/notes/widget/NoteWidgetProvider_2x.java,1\7\175d8fa829f0a7ced6aa11970f112de6ad144628
t
Dapp/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java,2\b\2b687ab930681e3885683578d43df600a0a20982
k
;app/src/main/java/net/micode/notes/ui/NotesListAdapter.java,2\8\283f16cc23da56ca65616082bc810304d3511d0a
h
8app/src/main/java/net/micode/notes/ui/NotesListItem.java,5\d\5dfe6902d8ec740690f88d644e74362c3be08fad
A
gradle.properties,2\a\2afbb999f001938c88fa43fc2ef52abf0f8213e4
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
@
app/build.gradle,f\4\f4a01d6a4fcb971362ec00a83903fd3902f52164
P
app/src/main/AndroidManifest.xml,8\c\8c55c3ccc257e5907959013f99656e4c8ec3903e
u
Eapp/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java,f\0\f087b1ba1b9c91b7293fea0fb071eaed62a42137
s
Capp/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java,0\2\023468cfdd0b71d4098903b9070e364658e2fbcf

@ -0,0 +1,87 @@
d
4app/src/main/java/net/micode/notes/data/Contact.java,9\a\9a3a19793537958b8b1b03a81985999e22705a2f
b
2app/src/main/java/net/micode/notes/data/Notes.java,a\7\a7641cfac724321d508c2a284223a711011a93f5
p
@app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java,1\e\1eb2363b523dbcae43d3c6e4790c64436af61b13
j
:app/src/main/java/net/micode/notes/data/NotesProvider.java,6\a\6a65e747031f27aef20597b4181148a9fbf963d5
k
;app/src/main/java/net/micode/notes/gtask/data/MetaData.java,c\1\c182d0c9c237ea8a46a92ccaae9bb5c751923a88
g
7app/src/main/java/net/micode/notes/gtask/data/Node.java,3\a\3aac5305cb73bfbdeb8078cd264d04323fa80e92
j
:app/src/main/java/net/micode/notes/gtask/data/SqlData.java,9\3\934a4e2abf19d28a53f6aeb1dcd99248c44b6892
j
:app/src/main/java/net/micode/notes/gtask/data/SqlNote.java,f\1\f1226eeacd46c914d51f3d1a6d6f27377490d2a4
g
7app/src/main/java/net/micode/notes/gtask/data/Task.java,d\1\d187f1271655c3d91661a39fe6de395b6a9f290a
k
;app/src/main/java/net/micode/notes/gtask/data/TaskList.java,e\0\e094aec5c3e1b6f44539adff3114f5a1ad603ddc
~
Napp/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java,5\f\5f6162ca79fcea353b280c5dc84973a9c37d2c74

Oapp/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java,0\f\0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1
p
@app/src/main/java/net/micode/notes/gtask/remote/GTaskClient.java,4\5\4529b3a97b0f3b19b895aa06f23bed63ff38a312
q
Aapp/src/main/java/net/micode/notes/gtask/remote/GTaskManager.java,a\b\ab153b0256bc5f6c194e188cec0b8e327e347a90
b
2app/src/main/java/net/micode/notes/model/Note.java,d\d\dd970bd8ce083850fca1d4d159647ccd110e57cb
i
9app/src/main/java/net/micode/notes/model/WorkingNote.java,8\7\876016634c6642b35109680ccac740dc8271b236
h
8app/src/main/java/net/micode/notes/tool/BackupUtils.java,a\4\a446c87b1013132f8adaf83656b582028e8809af
f
6app/src/main/java/net/micode/notes/tool/DataUtils.java,3\2\32360bf24febc78f20db52498c7576b3d8650d56
m
=app/src/main/java/net/micode/notes/tool/GTaskStringUtils.java,c\4\c42ad3cd6e664963fa1849c760a57d417d500ee7
k
;app/src/main/java/net/micode/notes/tool/ResourceParser.java,c\6\c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f
m
=app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java,3\e\3e688be40dc69cfd1062f41d0fc27fe261a26710
l
<app/src/main/java/net/micode/notes/ui/AlarmInitReceiver.java,0\2\0268ec648e2fc0139b30ed13396174b7392c1ae2
h
8app/src/main/java/net/micode/notes/ui/AlarmReceiver.java,5\8\5836a695995df8fadacfa6409fe8d21d88946842
i
9app/src/main/java/net/micode/notes/ui/DateTimePicker.java,6\c\6cbf8bd9aa98eff862b1dc067330ba66ba4493aa
o
?app/src/main/java/net/micode/notes/ui/DateTimePickerDialog.java,2\b\2bfc771e07e87c37d3a76a2c815bc8fb30649798
g
7app/src/main/java/net/micode/notes/ui/DropdownMenu.java,d\1\d1cc822fa9d783a8d4563bf6e139b7ae10de2fb1
m
=app/src/main/java/net/micode/notes/ui/FoldersListAdapter.java,f\9\f9f49497f95afd327db7a7a512612aa1089003d4
k
;app/src/main/java/net/micode/notes/ui/NoteEditActivity.java,5\7\577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
g
7app/src/main/java/net/micode/notes/ui/NoteEditText.java,5\0\503adcf2a0be1ecdb94a15efba4433b6589877b9
g
7app/src/main/java/net/micode/notes/ui/NoteItemData.java,0\8\08c35f02f11c35ae9ebf8db0a482054dfa1cf493
l
<app/src/main/java/net/micode/notes/ui/NotesListActivity.java,a\d\ad72331a1bed265bb9c0fe838faa74dbf69fce32
r
Bapp/src/main/java/net/micode/notes/ui/NotesPreferenceActivity.java,d\a\da57ce446af85bbd9aefee65e969869f0cff78b0
q
Aapp/src/main/java/net/micode/notes/widget/NoteWidgetProvider.java,5\8\58052a8597c5f01595e1c849728bcae66c27a1a6
t
Dapp/src/main/java/net/micode/notes/widget/NoteWidgetProvider_2x.java,1\7\175d8fa829f0a7ced6aa11970f112de6ad144628
t
Dapp/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java,2\b\2b687ab930681e3885683578d43df600a0a20982
k
;app/src/main/java/net/micode/notes/ui/NotesListAdapter.java,2\8\283f16cc23da56ca65616082bc810304d3511d0a
h
8app/src/main/java/net/micode/notes/ui/NotesListItem.java,5\d\5dfe6902d8ec740690f88d644e74362c3be08fad
A
gradle.properties,2\a\2afbb999f001938c88fa43fc2ef52abf0f8213e4
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
@
app/build.gradle,f\4\f4a01d6a4fcb971362ec00a83903fd3902f52164
P
app/src/main/AndroidManifest.xml,8\c\8c55c3ccc257e5907959013f99656e4c8ec3903e
u
Eapp/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java,f\0\f087b1ba1b9c91b7293fea0fb071eaed62a42137
s
Capp/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java,0\2\023468cfdd0b71d4098903b9070e364658e2fbcf

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

1
app/.gitignore vendored

@ -0,0 +1 @@
/build

@ -0,0 +1,47 @@
plugins {
id 'com.android.application'
}
android {
namespace 'net.micode.notes'
compileSdk 33
defaultConfig {
applicationId "net.micode.notes"
minSdk 24
targetSdk 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
packagingOptions {
exclude 'mozilla/public-suffix-list.txt'
exclude 'META-INF/DEPENDENCIES'
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'com.google.firebase:firebase-crashlytics-buildtools:2.8.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation 'org.apache.httpcomponents:httpclient:4.5.13'
}

@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

@ -0,0 +1,25 @@
package net.micode.notes;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
assertEquals("net.micode.notes", appContext.getPackageName());
}
}

@ -0,0 +1,150 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.Minotesmaster"
tools:targetApi="31">
<!-- <activity-->
<!-- android:name=".MainActivity"-->
<!-- android:exported="true">-->
<!-- <intent-filter>-->
<!-- <action android:name="android.intent.action.MAIN"/>-->
<!-- <category android:name="android.intent.category.LAUNCHER"/>-->
<!-- </intent-filter>-->
<!-- </activity>-->
<!-- <uses-sdk android:minSdkVersion="14" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"-->
<!-- tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.INTERNET" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.READ_CONTACTS" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.GET_ACCOUNTS" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.USE_CREDENTIALS" tools:ignore="WrongManifestParent"/>-->
<!-- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" tools:ignore="WrongManifestParent"/>-->
<activity
android:name=".ui.NotesListActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:launchMode="singleTop"
android:theme="@style/NoteTheme"
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="adjustPan" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.NoteEditActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:launchMode="singleTop"
android:theme="@style/NoteTheme" android:exported="true">
<intent-filter android:scheme="http" tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/text_note" />
<data android:mimeType="vnd.android.cursor.item/call_note" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.INSERT_OR_EDIT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="vnd.android.cursor.item/text_note" />
<data android:mimeType="vnd.android.cursor.item/call_note" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
<provider
android:name="net.micode.notes.data.NotesProvider"
android:authorities="micode_notes"
android:multiprocess="true" />
<receiver
android:name=".widget.NoteWidgetProvider_2x"
android:label="@string/app_widget2x2" android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
<action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget_2x_info" />
</receiver>
<receiver
android:name=".widget.NoteWidgetProvider_4x"
android:label="@string/app_widget4x4" android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.appwidget.action.APPWIDGET_DELETED" />
<action android:name="android.intent.action.PRIVACY_MODE_CHANGED" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/widget_4x_info" />
</receiver>
<receiver android:name=".ui.AlarmInitReceiver" android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver
android:name="net.micode.notes.ui.AlarmReceiver"
android:process=":remote" >
</receiver>
<activity
android:name=".ui.AlarmAlertActivity"
android:label="@string/app_name"
android:launchMode="singleInstance"
android:theme="@android:style/Theme.Holo.Wallpaper.NoTitleBar" >
</activity>
<activity
android:name="net.micode.notes.ui.NotesPreferenceActivity"
android:label="@string/preferences_title"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Holo.Light" >
</activity>
<service
android:name="net.micode.notes.gtask.remote.GTaskSyncService"
android:exported="false" >
</service>
<meta-data
android:name="android.app.default_searchable"
android:value=".ui.NoteEditActivity" />
</application>
</manifest>

@ -0,0 +1,73 @@
/*
* Copyright (c) 2010-2011, The MiCode Open Source Community (www.micode.net)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.micode.notes.data;
import android.content.Context;
import android.database.Cursor;
import android.provider.ContactsContract.CommonDataKinds.Phone;
import android.provider.ContactsContract.Data;
import android.telephony.PhoneNumberUtils;
import android.util.Log;
import java.util.HashMap;
public class Contact {
private static HashMap<String, String> sContactCache;
private static final String TAG = "Contact";
private static final String CALLER_ID_SELECTION = "PHONE_NUMBERS_EQUAL(" + Phone.NUMBER
+ ",?) AND " + Data.MIMETYPE + "='" + Phone.CONTENT_ITEM_TYPE + "'"
+ " AND " + Data.RAW_CONTACT_ID + " IN "
+ "(SELECT raw_contact_id "
+ " FROM phone_lookup"
+ " WHERE min_match = '+')";
public static String getContact(Context context, String phoneNumber) {
if(sContactCache == null) {
sContactCache = new HashMap<String, String>();
}
if(sContactCache.containsKey(phoneNumber)) {
return sContactCache.get(phoneNumber);
}
String selection = CALLER_ID_SELECTION.replace("+",
PhoneNumberUtils.toCallerIDMinMatch(phoneNumber));
Cursor cursor = context.getContentResolver().query(
Data.CONTENT_URI,
new String [] { Phone.DISPLAY_NAME },
selection,
new String[] { phoneNumber },
null);
if (cursor != null && cursor.moveToFirst()) {
try {
String name = cursor.getString(0);
sContactCache.put(phoneNumber, name);
return name;
} catch (IndexOutOfBoundsException e) {
Log.e(TAG, " Cursor get string error " + e.toString());
return null;
} finally {
cursor.close();
}
} else {
Log.d(TAG, "No contact matched with number:" + phoneNumber);
return null;
}
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save