Commit ddaef7dc78717401b52b217435a0c1d85e700880
1 parent
3b981128
1.Manifest 补充参数
Showing
2 changed files
with
3 additions
and
2 deletions
config.gradle
moudle_pedometer/src/main/AndroidManifest.xml
| ... | ... | @@ -123,7 +123,8 @@ |
| 123 | 123 | <service |
| 124 | 124 | android:name="com.cnlive.moudle.pedometer.service.MyListenerService" |
| 125 | 125 | android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" |
| 126 | - android:process=":pedometer"> | |
| 126 | + android:process=":pedometer" | |
| 127 | + android:exported="true"> | |
| 127 | 128 | <intent-filter> |
| 128 | 129 | <action android:name="android.service.notification.NotificationListenerService" /> |
| 129 | 130 | </intent-filter> | ... | ... |