From 88b98951187198d70c2c1ab2516fa80aaf0f88cb Mon Sep 17 00:00:00 2001 From: ynmlzdwsp <2727940448@qq.com> Date: Thu, 21 Sep 2023 16:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=E5=8E=9F=E9=A1=B9=E7=9B=AE2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1eb2363b523dbcae43d3c6e4790c64436af61b13 | 2 - .../2bfc771e07e87c37d3a76a2c815bc8fb30649798 | 2 + .../32360bf24febc78f20db52498c7576b3d8650d56 | 14 +- .../4529b3a97b0f3b19b895aa06f23bed63ff38a312 | 2 - .../577f30d26378ec8a2bd2e4a43f3c79b3f04c402c | 9 +- .../ab153b0256bc5f6c194e188cec0b8e327e347a90 | 10 +- .../ad72331a1bed265bb9c0fe838faa74dbf69fce32 | 10 +- .../d187f1271655c3d91661a39fe6de395b6a9f290a | 2 + .../dd970bd8ce083850fca1d4d159647ccd110e57cb | 2 + .../e094aec5c3e1b6f44539adff3114f5a1ad603ddc | 4 + .idea/sonarlint/issuestore/index.pb | 125 +++++++++++++++++- .idea/sonarlint/securityhotspotstore/index.pb | 125 +++++++++++++++++- .../java/net/micode/notes/data/Contact.java | 1 + 13 files changed, 295 insertions(+), 13 deletions(-) diff --git a/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 b/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 index 6885e09..b5a82a1 100644 --- a/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 +++ b/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 @@ -21,7 +21,5 @@ java:S1192]"HDefine a constant instead of duplicating this literal " SET " 8 java:S1192\"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.(  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"( Y java:S1214#"CMove constants defined in this interfaces to another class or enum.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798 b/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798 index 8b06e84..164a04a 100644 --- a/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798 +++ b/.idea/sonarlint/issuestore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798 @@ -1,4 +1,6 @@ +E +java:S1604/"(Make this anonymous inner class a lambda(˽81 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".( diff --git a/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 b/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 index f21e49a..044ad41 100644 --- a/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 +++ b/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 @@ -17,6 +17,10 @@ java:S1319("`The type of "ids" should be an interface such as "Set" rather than 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".( +Z +java:S2589>"8Remove this expression which always evaluates to "false"(Ύ8ؔ1 +Z +java:S2589e"8Remove this expression which always evaluates to "false"(Ύ8ؔ1 U java:S1118&":Add a private constructor to hide the implicit public one.( T @@ -24,4 +28,12 @@ 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.(暩 \ No newline at end of file +java:S2147l"ECombine this catch with the one at line 106, which has the same body.(暩 +r +java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".(81 +t +java:S3252"QUse static access with "net.micode.notes.data.Notes$DataColumns" for "MIME_TYPE".(81 +m +java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".(ʹ81 +t +java:S3252"QUse static access with "net.micode.notes.data.Notes$DataColumns" for "MIME_TYPE".(81 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312 b/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312 index d12dc84..a32d6dd 100644 --- a/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312 +++ b/.idea/sonarlint/issuestore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312 @@ -3,8 +3,6 @@ u java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(各 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 diff --git a/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c b/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c index 262e3ae..430c8cf 100644 --- a/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c +++ b/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c @@ -11,6 +11,8 @@ p java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥 ? java:S1604"(Make this anonymous inner class a lambda(ά +F +java:S1604"(Make this anonymous inner class a lambda(81 ? java:S1604"(Make this anonymous inner class a lambda(ߒ q @@ -55,9 +57,14 @@ 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".( +\ +java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.(81 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.(Ǿ \ No newline at end of file +java:S1874"DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(Ǿ +k java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ҏ81 +I +java:S1172"+Remove this unused method parameter "view".(Ҏ81 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90 b/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90 index a573e13..d9fdd6c 100644 --- a/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90 +++ b/.idea/sonarlint/issuestore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90 @@ -29,7 +29,15 @@ n java:S3776"RRefactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.(˰ n java:S3776"RRefactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed.(ɸ +< +java:S2129"Remove this "Long" constructor(ϭ81 +J +java:S1874",Remove this use of "Long"; it is deprecated.(ϭ81 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".(ƶؠ \ No newline at end of file +java:S1172"+Remove this unused method parameter "node".(ƶؠ +J +java:S1905"'Remove this unnecessary cast to "Node".(81 +E +java:S1905"'Remove this unnecessary cast to "Node".(81 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 b/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 index df55035..d87966d 100644 --- a/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 +++ b/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 @@ -64,6 +64,8 @@ java:S3776 C java:S1874".Remove this use of ""; it is deprecated.(? ? java:S108")Either remove or fill this block of code.(ʥ +h +java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(Ϳ8ك1 K java:S1874"/Remove this use of "execute"; it is deprecated.(嫏 S @@ -95,11 +97,11 @@ java:S3776 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".( +A +java:S3398"%Move this method into "ModeCallback".( +G +java:S3398"0Move this method into "OnListItemClickListener".( K java:S3398"/Move this method into "BackgroundQueryHandler".( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/1/d187f1271655c3d91661a39fe6de395b6a9f290a b/.idea/sonarlint/issuestore/d/1/d187f1271655c3d91661a39fe6de395b6a9f290a index ba682ec..0641f7b 100644 --- a/.idea/sonarlint/issuestore/d/1/d187f1271655c3d91661a39fe6de395b6a9f290a +++ b/.idea/sonarlint/issuestore/d/1/d187f1271655c3d91661a39fe6de395b6a9f290a @@ -1,3 +1,5 @@ +c +java:S2259"@A "NullPointerException" could be thrown; "js" is nullable here.(8˯1 i java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(ǎ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb b/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb index 446ad57..0ee1e68 100644 --- a/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb +++ b/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb @@ -3,6 +3,8 @@ 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.( +V +java:S2589"8Remove this expression which always evaluates to "false"(8ᘕ1 \ java:S1126}"AReplace this if-then-else statement by a single return statement.(Ʒ i diff --git a/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc b/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc index 9f6b793..0201c73 100644 --- a/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc +++ b/.idea/sonarlint/issuestore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc @@ -1,5 +1,9 @@ t java:S2293*"YReplace the type specification in this constructor call with the diamond operator ("<>").(ʩ + +java:S1319"pThe return type of this method should be an interface such as "List" rather than the implementation "ArrayList".(ﷺ8㨕1 +c +java:S2259"@A "NullPointerException" could be thrown; "js" is nullable here.(81 r java:S3923"[Remove this conditional structure or edit its code blocks so that they're not all the same.(ԡ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb index a9e3b6f..dab55f3 100644 --- a/.idea/sonarlint/issuestore/index.pb +++ b/.idea/sonarlint/issuestore/index.pb @@ -84,4 +84,127 @@ P 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 \ No newline at end of file +Capp/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java,0\2\023468cfdd0b71d4098903b9070e364658e2fbcf +w +G.idea/sonarlint/issuestore/f/0/f07866736216be0ee2aba49e392191aeae700a35,b\f\bfb9453d49af9bc40f5f7a5f034be3c7ef8fa6bf +S +#.idea/sonarlint/issuestore/index.pb,9\f\9fe84ebb15faf917b7def6236dba604453cc61e0 + +Q.idea/sonarlint/securityhotspotstore/9/a/9a3a19793537958b8b1b03a81985999e22705a2f,7\1\71865899a0dbe0a6d01c54eaae321fdb79886b33 + +Q.idea/sonarlint/securityhotspotstore/9/3/934a4e2abf19d28a53f6aeb1dcd99248c44b6892,0\b\0b62b6f7992deb71c9e8ebf98fee7d1940075e41 + +Q.idea/sonarlint/securityhotspotstore/8/c/8c55c3ccc257e5907959013f99656e4c8ec3903e,1\f\1fe398aa86b382486ed27d0a69bf92f68bd5edaa + +Q.idea/sonarlint/securityhotspotstore/8/7/876016634c6642b35109680ccac740dc8271b236,2\5\253fc2aafc5abbcf0ce4de6bfe5ac42b16aa05ac + +Q.idea/sonarlint/securityhotspotstore/6/c/6cbf8bd9aa98eff862b1dc067330ba66ba4493aa,5\3\53217992143a39b0f5a2069c1e7de404a66f3f0e + +Q.idea/sonarlint/securityhotspotstore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5,f\7\f73d5486a3e9d94d53a71ccb8796734eb31db47f + +Q.idea/sonarlint/securityhotspotstore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74,b\d\bd7d6a1d05cc4deaf0b353312877995ce53ac8d5 + +Q.idea/sonarlint/securityhotspotstore/5/8/5836a695995df8fadacfa6409fe8d21d88946842,0\c\0c7cee9d3beba8740ba5532607af82758655e34e + +Q.idea/sonarlint/securityhotspotstore/5/d/5dfe6902d8ec740690f88d644e74362c3be08fad,c\2\c284b0141178686da7da83261f5a301532ae66ee + +Q.idea/sonarlint/securityhotspotstore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c,4\b\4beb7a152b5563adb76dbad90d681eea8457c22d + +Q.idea/sonarlint/securityhotspotstore/5/8/58052a8597c5f01595e1c849728bcae66c27a1a6,3\9\399dbcd65e120b45730e4c2147032a2c34b9d78c + +Q.idea/sonarlint/securityhotspotstore/5/0/503adcf2a0be1ecdb94a15efba4433b6589877b9,1\8\189da6af10dd84356b69645b80a659f149fca7d5 + +Q.idea/sonarlint/securityhotspotstore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312,3\5\35a431b03c3f6010902c4047034ab63121441a31 + +Q.idea/sonarlint/securityhotspotstore/3/a/3aac5305cb73bfbdeb8078cd264d04323fa80e92,6\9\69e2be27857a4fc9ea4ee026d00fef865535346e + +Q.idea/sonarlint/securityhotspotstore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710,0\8\087e83a732c1e61cff05e21282814030a89217cb + +Q.idea/sonarlint/securityhotspotstore/3/2/32360bf24febc78f20db52498c7576b3d8650d56,5\e\5e37502f37506acdd5f87b171e77f1bb3a5e15eb + +Q.idea/sonarlint/securityhotspotstore/2/b/2b687ab930681e3885683578d43df600a0a20982,f\2\f2d076c6ad2809e200bcececb583e53e00594728 + +Q.idea/sonarlint/securityhotspotstore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798,5\0\50b3f2ed855d3633238a771c3ee2897c36b942ac + +Q.idea/sonarlint/securityhotspotstore/2/8/283f16cc23da56ca65616082bc810304d3511d0a,8\4\847fb8517650935505cbc86f158aaae0a1c75258 + +Q.idea/sonarlint/securityhotspotstore/2/a/2afbb999f001938c88fa43fc2ef52abf0f8213e4,a\8\a8a52112049d840217cfa586a3a399d9502f9b94 + +Q.idea/sonarlint/securityhotspotstore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13,8\a\8a8e691ee152de38c321aabbf3f6bc381bc2dcc6 + +Q.idea/sonarlint/securityhotspotstore/1/7/175d8fa829f0a7ced6aa11970f112de6ad144628,d\a\da18decabb6c0b6084c44558623b91fb432925a6 + +Q.idea/sonarlint/securityhotspotstore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1,5\6\562e664f9d59704b465c5334c179b2d55b3a2250 + +Q.idea/sonarlint/securityhotspotstore/0/2/0268ec648e2fc0139b30ed13396174b7392c1ae2,f\6\f64a667773afd069aada7e2f9ebb2e5cbf23461f + +Q.idea/sonarlint/securityhotspotstore/0/8/08c35f02f11c35ae9ebf8db0a482054dfa1cf493,6\b\6b0a1bc15be7d7beba0228ddb7f4ea7ae8ed873b + +Q.idea/sonarlint/securityhotspotstore/0/2/023468cfdd0b71d4098903b9070e364658e2fbcf,8\2\822afb35bb7b02f71833027f5662034dd0fcc3d4 + +Q.idea/sonarlint/securityhotspotstore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164,9\b\9b9af03329b517cdd460b1ee115f2bb0ec341883 + +Q.idea/sonarlint/securityhotspotstore/f/9/f9f49497f95afd327db7a7a512612aa1089003d4,f\3\f356b117ad1cc23b6ae3957c0903107e47c89efc + +Q.idea/sonarlint/securityhotspotstore/f/0/f087b1ba1b9c91b7293fea0fb071eaed62a42137,3\1\318b6871093794acf416fc91f62e30a08720b9b5 + +Q.idea/sonarlint/securityhotspotstore/f/1/f1226eeacd46c914d51f3d1a6d6f27377490d2a4,2\6\269c12c6e185b5eec138deaf4e081548ab21a845 + +Q.idea/sonarlint/securityhotspotstore/f/0/f07866736216be0ee2aba49e392191aeae700a35,2\5\25f6469773b9f3ebb994178c1114a60412389f58 + +Q.idea/sonarlint/securityhotspotstore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc,6\8\689162fb3aed781a3857eadca2fb67690fc04891 + +Q.idea/sonarlint/securityhotspotstore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb,2\1\21e2570e7742328baf120f6f82ae64076b5e901a + +Q.idea/sonarlint/securityhotspotstore/d/1/d1cc822fa9d783a8d4563bf6e139b7ae10de2fb1,c\9\c9d96fd284b4def0f14b0dbffddf090d64e820bb + +Q.idea/sonarlint/securityhotspotstore/d/a/da57ce446af85bbd9aefee65e969869f0cff78b0,c\c\cca5710f41f6ab358473f436554c70b157c76a00 + +Q.idea/sonarlint/securityhotspotstore/d/1/d187f1271655c3d91661a39fe6de395b6a9f290a,0\6\06792f383cb0a56c88f5a0c57cb94ecc6879b693 + +Q.idea/sonarlint/securityhotspotstore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7,4\8\485848e6d1cccafd7d1fa19b9a6527501d1c3ee5 + +Q.idea/sonarlint/securityhotspotstore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f,0\0\00efb74c8b9b2b2ec854d51e17db3a5de6b7a5a9 + +Q.idea/sonarlint/securityhotspotstore/c/1/c182d0c9c237ea8a46a92ccaae9bb5c751923a88,a\9\a93b2b893fe4b13c52f790c725f069f49bd09d6b + +Q.idea/sonarlint/securityhotspotstore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90,7\5\75ce1cae3474f98e6eb69cff56d7723c52135b16 + +Q.idea/sonarlint/securityhotspotstore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32,3\c\3cf3c9fa2ebe32077392afa7dc47b1afdfee5625 + +Q.idea/sonarlint/securityhotspotstore/a/4/a446c87b1013132f8adaf83656b582028e8809af,8\8\88f0307f3e34df46b303b903f89e17b0ba65871a + +Q.idea/sonarlint/securityhotspotstore/a/7/a7641cfac724321d508c2a284223a711011a93f5,3\c\3c57ca1f674d66c28f8a29d80dda94c90ddb5986 +] +-.idea/sonarlint/securityhotspotstore/index.pb,8\8\88a9255124c95bdc913197c120a8d560edc59c8e +w +G.idea/sonarlint/issuestore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74,f\3\f3076fbf223a2888341d4e4dc93ed73e2646f717 +w +G.idea/sonarlint/issuestore/5/8/5836a695995df8fadacfa6409fe8d21d88946842,1\7\17d15be76bedbc6f57be9eb6a0e732345c853676 +w +G.idea/sonarlint/issuestore/2/a/2afbb999f001938c88fa43fc2ef52abf0f8213e4,5\1\516e730a14e71f02fa73f3acd6dc7cea9a9fe002 +w +G.idea/sonarlint/issuestore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1,a\e\ae9326ffb75a11914f00e64d664eca64db917b5a +w +G.idea/sonarlint/issuestore/0/2/0268ec648e2fc0139b30ed13396174b7392c1ae2,8\a\8ab9b1f96b506a5a5cb174f02fc62408216398ad +w +G.idea/sonarlint/issuestore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164,3\1\31073cf3a12b082ef2fe0f9403916a4db3811c89 +: + +.gitignore,a\5\a5cc2925ca8258af241be7e5b0381edf30266302 +> +app/.gitignore,5\1\51e1c5d383dfaa35e0e7e5873a0a99355a86880f +F +app/proguard-rules.pro,9\e\9e08934d811afe28fbc77aaa3c0d747b94348db9 +v +Fapp/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java,c\b\cb1a06a8717813ec7c510788635a593f17fbd0e5 +g +7app/src/test/java/net/micode/notes/ExampleUnitTest.java,2\2\2206dceaaf1c3cd3bc394c5e3e2918227831f5e8 +X +(gradle/wrapper/gradle-wrapper.properties,f\b\fbe448ebfc3eb2d4e308f6b8b043666f5b57235e +7 +gradlew,5\b\5bbfa66edb4db3c7c33c5181f43510990d3307f9 +; + gradlew.bat,2\a\2a45a911a8f1836b0b6c5b758962572012d8f8c3 +? +settings.gradle,0\5\05efc8b1657769a27696d478ded1e95f38737233 \ No newline at end of file diff --git a/.idea/sonarlint/securityhotspotstore/index.pb b/.idea/sonarlint/securityhotspotstore/index.pb index a9e3b6f..0c03880 100644 --- a/.idea/sonarlint/securityhotspotstore/index.pb +++ b/.idea/sonarlint/securityhotspotstore/index.pb @@ -84,4 +84,127 @@ P 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 \ No newline at end of file +Capp/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java,0\2\023468cfdd0b71d4098903b9070e364658e2fbcf +w +G.idea/sonarlint/issuestore/f/0/f07866736216be0ee2aba49e392191aeae700a35,b\f\bfb9453d49af9bc40f5f7a5f034be3c7ef8fa6bf +S +#.idea/sonarlint/issuestore/index.pb,9\f\9fe84ebb15faf917b7def6236dba604453cc61e0 +v +Fapp/src/androidTest/java/net/micode/notes/ExampleInstrumentedTest.java,c\b\cb1a06a8717813ec7c510788635a593f17fbd0e5 +F +app/proguard-rules.pro,9\e\9e08934d811afe28fbc77aaa3c0d747b94348db9 +g +7app/src/test/java/net/micode/notes/ExampleUnitTest.java,2\2\2206dceaaf1c3cd3bc394c5e3e2918227831f5e8 +> +app/.gitignore,5\1\51e1c5d383dfaa35e0e7e5873a0a99355a86880f +7 +gradlew,5\b\5bbfa66edb4db3c7c33c5181f43510990d3307f9 +; + gradlew.bat,2\a\2a45a911a8f1836b0b6c5b758962572012d8f8c3 +X +(gradle/wrapper/gradle-wrapper.properties,f\b\fbe448ebfc3eb2d4e308f6b8b043666f5b57235e +? +settings.gradle,0\5\05efc8b1657769a27696d478ded1e95f38737233 +: + +.gitignore,a\5\a5cc2925ca8258af241be7e5b0381edf30266302 + +Q.idea/sonarlint/securityhotspotstore/9/a/9a3a19793537958b8b1b03a81985999e22705a2f,7\1\71865899a0dbe0a6d01c54eaae321fdb79886b33 + +Q.idea/sonarlint/securityhotspotstore/9/3/934a4e2abf19d28a53f6aeb1dcd99248c44b6892,0\b\0b62b6f7992deb71c9e8ebf98fee7d1940075e41 + +Q.idea/sonarlint/securityhotspotstore/8/c/8c55c3ccc257e5907959013f99656e4c8ec3903e,1\f\1fe398aa86b382486ed27d0a69bf92f68bd5edaa + +Q.idea/sonarlint/securityhotspotstore/8/7/876016634c6642b35109680ccac740dc8271b236,2\5\253fc2aafc5abbcf0ce4de6bfe5ac42b16aa05ac + +Q.idea/sonarlint/securityhotspotstore/6/c/6cbf8bd9aa98eff862b1dc067330ba66ba4493aa,5\3\53217992143a39b0f5a2069c1e7de404a66f3f0e + +Q.idea/sonarlint/securityhotspotstore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5,f\7\f73d5486a3e9d94d53a71ccb8796734eb31db47f + +Q.idea/sonarlint/securityhotspotstore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74,b\d\bd7d6a1d05cc4deaf0b353312877995ce53ac8d5 + +Q.idea/sonarlint/securityhotspotstore/5/8/5836a695995df8fadacfa6409fe8d21d88946842,0\c\0c7cee9d3beba8740ba5532607af82758655e34e + +Q.idea/sonarlint/securityhotspotstore/5/d/5dfe6902d8ec740690f88d644e74362c3be08fad,c\2\c284b0141178686da7da83261f5a301532ae66ee + +Q.idea/sonarlint/securityhotspotstore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c,4\b\4beb7a152b5563adb76dbad90d681eea8457c22d + +Q.idea/sonarlint/securityhotspotstore/5/8/58052a8597c5f01595e1c849728bcae66c27a1a6,3\9\399dbcd65e120b45730e4c2147032a2c34b9d78c + +Q.idea/sonarlint/securityhotspotstore/5/0/503adcf2a0be1ecdb94a15efba4433b6589877b9,1\8\189da6af10dd84356b69645b80a659f149fca7d5 + +Q.idea/sonarlint/securityhotspotstore/4/5/4529b3a97b0f3b19b895aa06f23bed63ff38a312,3\5\35a431b03c3f6010902c4047034ab63121441a31 + +Q.idea/sonarlint/securityhotspotstore/3/a/3aac5305cb73bfbdeb8078cd264d04323fa80e92,6\9\69e2be27857a4fc9ea4ee026d00fef865535346e + +Q.idea/sonarlint/securityhotspotstore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710,0\8\087e83a732c1e61cff05e21282814030a89217cb + +Q.idea/sonarlint/securityhotspotstore/3/2/32360bf24febc78f20db52498c7576b3d8650d56,5\e\5e37502f37506acdd5f87b171e77f1bb3a5e15eb + +Q.idea/sonarlint/securityhotspotstore/2/b/2b687ab930681e3885683578d43df600a0a20982,f\2\f2d076c6ad2809e200bcececb583e53e00594728 + +Q.idea/sonarlint/securityhotspotstore/2/b/2bfc771e07e87c37d3a76a2c815bc8fb30649798,5\0\50b3f2ed855d3633238a771c3ee2897c36b942ac + +Q.idea/sonarlint/securityhotspotstore/2/8/283f16cc23da56ca65616082bc810304d3511d0a,8\4\847fb8517650935505cbc86f158aaae0a1c75258 + +Q.idea/sonarlint/securityhotspotstore/2/a/2afbb999f001938c88fa43fc2ef52abf0f8213e4,a\8\a8a52112049d840217cfa586a3a399d9502f9b94 + +Q.idea/sonarlint/securityhotspotstore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13,8\a\8a8e691ee152de38c321aabbf3f6bc381bc2dcc6 + +Q.idea/sonarlint/securityhotspotstore/1/7/175d8fa829f0a7ced6aa11970f112de6ad144628,d\a\da18decabb6c0b6084c44558623b91fb432925a6 + +Q.idea/sonarlint/securityhotspotstore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1,5\6\562e664f9d59704b465c5334c179b2d55b3a2250 + +Q.idea/sonarlint/securityhotspotstore/0/2/0268ec648e2fc0139b30ed13396174b7392c1ae2,f\6\f64a667773afd069aada7e2f9ebb2e5cbf23461f + +Q.idea/sonarlint/securityhotspotstore/0/8/08c35f02f11c35ae9ebf8db0a482054dfa1cf493,6\b\6b0a1bc15be7d7beba0228ddb7f4ea7ae8ed873b + +Q.idea/sonarlint/securityhotspotstore/0/2/023468cfdd0b71d4098903b9070e364658e2fbcf,8\2\822afb35bb7b02f71833027f5662034dd0fcc3d4 + +Q.idea/sonarlint/securityhotspotstore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164,9\b\9b9af03329b517cdd460b1ee115f2bb0ec341883 + +Q.idea/sonarlint/securityhotspotstore/f/9/f9f49497f95afd327db7a7a512612aa1089003d4,f\3\f356b117ad1cc23b6ae3957c0903107e47c89efc + +Q.idea/sonarlint/securityhotspotstore/f/0/f087b1ba1b9c91b7293fea0fb071eaed62a42137,3\1\318b6871093794acf416fc91f62e30a08720b9b5 + +Q.idea/sonarlint/securityhotspotstore/f/1/f1226eeacd46c914d51f3d1a6d6f27377490d2a4,2\6\269c12c6e185b5eec138deaf4e081548ab21a845 + +Q.idea/sonarlint/securityhotspotstore/f/0/f07866736216be0ee2aba49e392191aeae700a35,2\5\25f6469773b9f3ebb994178c1114a60412389f58 + +Q.idea/sonarlint/securityhotspotstore/e/0/e094aec5c3e1b6f44539adff3114f5a1ad603ddc,6\8\689162fb3aed781a3857eadca2fb67690fc04891 + +Q.idea/sonarlint/securityhotspotstore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb,2\1\21e2570e7742328baf120f6f82ae64076b5e901a + +Q.idea/sonarlint/securityhotspotstore/d/1/d1cc822fa9d783a8d4563bf6e139b7ae10de2fb1,c\9\c9d96fd284b4def0f14b0dbffddf090d64e820bb + +Q.idea/sonarlint/securityhotspotstore/d/a/da57ce446af85bbd9aefee65e969869f0cff78b0,c\c\cca5710f41f6ab358473f436554c70b157c76a00 + +Q.idea/sonarlint/securityhotspotstore/d/1/d187f1271655c3d91661a39fe6de395b6a9f290a,0\6\06792f383cb0a56c88f5a0c57cb94ecc6879b693 + +Q.idea/sonarlint/securityhotspotstore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7,4\8\485848e6d1cccafd7d1fa19b9a6527501d1c3ee5 + +Q.idea/sonarlint/securityhotspotstore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f,0\0\00efb74c8b9b2b2ec854d51e17db3a5de6b7a5a9 + +Q.idea/sonarlint/securityhotspotstore/c/1/c182d0c9c237ea8a46a92ccaae9bb5c751923a88,a\9\a93b2b893fe4b13c52f790c725f069f49bd09d6b + +Q.idea/sonarlint/securityhotspotstore/a/b/ab153b0256bc5f6c194e188cec0b8e327e347a90,7\5\75ce1cae3474f98e6eb69cff56d7723c52135b16 + +Q.idea/sonarlint/securityhotspotstore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32,3\c\3cf3c9fa2ebe32077392afa7dc47b1afdfee5625 + +Q.idea/sonarlint/securityhotspotstore/a/4/a446c87b1013132f8adaf83656b582028e8809af,8\8\88f0307f3e34df46b303b903f89e17b0ba65871a + +Q.idea/sonarlint/securityhotspotstore/a/7/a7641cfac724321d508c2a284223a711011a93f5,3\c\3c57ca1f674d66c28f8a29d80dda94c90ddb5986 +] +-.idea/sonarlint/securityhotspotstore/index.pb,8\8\88a9255124c95bdc913197c120a8d560edc59c8e +w +G.idea/sonarlint/issuestore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74,f\3\f3076fbf223a2888341d4e4dc93ed73e2646f717 +w +G.idea/sonarlint/issuestore/5/8/5836a695995df8fadacfa6409fe8d21d88946842,1\7\17d15be76bedbc6f57be9eb6a0e732345c853676 +w +G.idea/sonarlint/issuestore/2/a/2afbb999f001938c88fa43fc2ef52abf0f8213e4,5\1\516e730a14e71f02fa73f3acd6dc7cea9a9fe002 +w +G.idea/sonarlint/issuestore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1,a\e\ae9326ffb75a11914f00e64d664eca64db917b5a +w +G.idea/sonarlint/issuestore/0/2/0268ec648e2fc0139b30ed13396174b7392c1ae2,8\a\8ab9b1f96b506a5a5cb174f02fc62408216398ad +w +G.idea/sonarlint/issuestore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164,3\1\31073cf3a12b082ef2fe0f9403916a4db3811c89 \ No newline at end of file diff --git a/app/src/main/java/net/micode/notes/data/Contact.java b/app/src/main/java/net/micode/notes/data/Contact.java index d97ac5d..86340ff 100644 --- a/app/src/main/java/net/micode/notes/data/Contact.java +++ b/app/src/main/java/net/micode/notes/data/Contact.java @@ -29,6 +29,7 @@ public class Contact { private static HashMap 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 "