Sometimes, when comparing the code, you can see some changes, but you do not know the author and cause of the changes or the corresponding bug number. That is to say, you cannot find the specific cause of these changes ~
[Note]: A file is modified for a limited number of times, and a commit description is provided for each code modification submission,
@ C1-System-Product-Name :~ /Data/android_code/packages/apps/vargoservice/src/CN/COM/Vargo/cloudservice/contacts $ git log -- pretty = oneline contactssyncservice. Java
13338d571a4743f8830081c911b4aebbb6680b89 added synchronization interface Data Query
@ C1-System-Product-Name :~ /Data/android_code/packages/apps/vargoservice/src/CN/COM/Vargo/cloudservice/contacts $ git log -- pretty contactssyncservice. Java
Commit 13338d571a4743f8830081c911b4aebbb6680b89
Author: liuyongsheng <[email protected]>
Date: Wed Mar 12 18:29:20 2014 + 0800
Added the synchronization interface for Data Query
@ C1-System-Product-Name :~ /Data/android_code/packages/apps/vargoservice/src/CN/COM/Vargo/cloudservice/contacts $ ^ C
@ C1-System-Product-Name :~ /Data/android_code/packages/apps/vargoservice/src/CN/COM/Vargo/cloudservice/contacts $ git show 13338d571a4743f8830081c911b4aebbb6680b89
Commit 13338d571a4743f8830081c911b4aebbb6680b89
Author:
Date: Wed Mar 12 18:29:20 2014 + 0800
Added the synchronization interface for Data Query
Diff -- git a/androidmanifest. xml B/androidmanifest. xml
Index bdebb94.. d90312e 100644
--- A/androidmanifest. xml
++ B/androidmanifest. xml
@-231,6 + 231,15 @@
<Action Android: Name = "com. iradar. aidl. remoteiradarvcloudservice"/>
</Intent-filter>
</Service>
+
+ <Service
+ Android: Name = "cn.com. Vargo. cloudservice. Contacts. contactssyncservice"
+ Android: exported = "true">
+ <Intent-filter>
+ <Action Android: Name = "android. content. syncadapter"/>
+ </Intent-filter>
+ <Meta-data Android: Name = "android. content. syncadapter" Android: Resource = "@ XML/syncadapter_contacts"/>
+ </Service>
</Application>
Diff -- git A/Res/XML/syncadapter_contacts.xml B/RES/XML/syncadapter_contacts.xml
View the modification history of a file in git