Commit ddaef7dc78717401b52b217435a0c1d85e700880

Authored by 朱显松
1 parent 3b981128

1.Manifest 补充参数

config.gradle
@@ -21,7 +21,7 @@ ext { @@ -21,7 +21,7 @@ ext {
21 //编译方式 21 //编译方式
22 debug : false, 22 debug : false,
23 //版本号 23 //版本号
24 - version: "1.3.4", 24 + version: "1.3.5",
25 //Lib库前缀 25 //Lib库前缀
26 packeg : "com.cnlive.module", 26 packeg : "com.cnlive.module",
27 //Lib库名称 27 //Lib库名称
moudle_pedometer/src/main/AndroidManifest.xml
@@ -123,7 +123,8 @@ @@ -123,7 +123,8 @@
123 <service 123 <service
124 android:name="com.cnlive.moudle.pedometer.service.MyListenerService" 124 android:name="com.cnlive.moudle.pedometer.service.MyListenerService"
125 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" 125 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"
126 - android:process=":pedometer"> 126 + android:process=":pedometer"
  127 + android:exported="true">
127 <intent-filter> 128 <intent-filter>
128 <action android:name="android.service.notification.NotificationListenerService" /> 129 <action android:name="android.service.notification.NotificationListenerService" />
129 </intent-filter> 130 </intent-filter>