update aidl method.
authorTrillGates <williamtrillgates@gmail.com>
Tue, 6 Jul 2021 10:15:26 +0000 (18:15 +0800)
committerTrillGates <williamtrillgates@gmail.com>
Tue, 6 Jul 2021 10:15:26 +0000 (18:15 +0800)
app/release/release/ICL02Sport_V28_202107061807_release.apk [moved from app/release/release/ICL02Sport_V27_202107061547_release.apk with 53% similarity]
app/release/release/output.json
app/src/main/aidl/com/ic/aidl/ped/IPedAidlInterface.aidl
app/src/main/aidl/com/ic/aidl/ped/IPedRemoteService.aidl
app/src/main/java/com/ic/sport/presenter/PedometerPresenter.java
app/version_code.properties

similarity index 53%
rename from app/release/release/ICL02Sport_V27_202107061547_release.apk
rename to app/release/release/ICL02Sport_V28_202107061807_release.apk
index 380f666..e0d7b93 100644 (file)
Binary files a/app/release/release/ICL02Sport_V27_202107061547_release.apk and b/app/release/release/ICL02Sport_V28_202107061807_release.apk differ
index db984f3..d10418a 100644 (file)
@@ -1 +1 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":27,"versionName":"202107061547","enabled":true,"outputFile":"ICL02Sport_V27_202107061547_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Sport_V27_202107061547_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":28,"versionName":"202107061807","enabled":true,"outputFile":"ICL02Sport_V28_202107061807_release.apk","fullName":"release","baseName":"release"},"path":"ICL02Sport_V28_202107061807_release.apk","properties":{}}]
\ No newline at end of file
index 339498a..7920176 100644 (file)
@@ -4,7 +4,8 @@ import com.ic.aidl.ped.RecordParcelable;
 
 interface IPedAidlInterface {
 
-     void updatePedCount(int count);
+     void updatePedCount(in int count);
+      void updateCalorie(in float count);
      void updatePedRecord(in List<RecordParcelable> record);
 
 }
index 60b57a3..8f682a9 100644 (file)
@@ -10,11 +10,11 @@ interface IPedRemoteService {
      * Demonstrates some basic types that you can use as parameters
      * and return values in AIDL.
      */
-    void registerCallback(IPedAidlInterface cb);
-    void unregisterCallback(IPedAidlInterface cb);
+    void registerCallback(in IPedAidlInterface cb);
+    void unregisterCallback(in IPedAidlInterface cb);
 
     void queryPedCount();
     void queryPedRecord();
-    void syncPedHeightSetting(int height);
-    void syncPedWeightSetting(int weight);
+    void syncPedHeightSetting(in int height);
+    void syncPedWeightSetting(in int weight);
 }
index d319587..73e604f 100644 (file)
@@ -139,6 +139,11 @@ public class PedometerPresenter {
             mObsPedCount.postValue(count);
         }
 
+        @Override
+        public void updateCalorie(float count) {
+
+        }
+
         @Override
         public void updatePedRecord(List<RecordParcelable> record) {
             ICLogger.d("record == > " + record);
index a91ba87..e161843 100644 (file)
@@ -1,2 +1,2 @@
-#Tue Jul 06 15:47:09 CST 2021\r
-VERSION_CODE=27\r
+#Tue Jul 06 18:07:19 CST 2021\r
+VERSION_CODE=28\r