赵杰 删除 Google同步相关代码

pull/11/head
gexinghai 2 years ago
parent 5a304e037a
commit da326302eb

@ -1,4 +1,4 @@
#Wed Jun 07 10:21:05 CST 2023
#Wed Jun 07 21:16:17 CST 2023
base.0=C\:\\Users\\Admin\\Desktop\\gitProject1\\gitProject1\\src\\Notes\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\classes.dex
path.0=classes.dex
renamed.0=classes.dex

@ -1,19 +1,4 @@
// Apache许可证协议
/*
* 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;
@ -39,7 +24,7 @@ public class Contact {
public static String getContact(Context context, String phoneNumber) {
if(sContactCache == null) {
sContactCache = new HashMap<String, String>();
sContactCache = new HashMap<>();
}
if(sContactCache.containsKey(phoneNumber)) {
@ -61,7 +46,7 @@ public class Contact {
sContactCache.put(phoneNumber, name);
return name;
} catch (IndexOutOfBoundsException e) {
Log.e(TAG, " Cursor get string error " + e.toString());
Log.e(TAG, " Cursor get string error " + e);
return null;
} finally {
cursor.close();

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

Loading…
Cancel
Save