service - NotificationService in android M -


my application uses notificationservice works fine on devices android l. when trying on device android m, service doesn't start. oncreate not fired @ all.

service declared in androidmanifest:

   <service android:name="com.abc.def.mycustomservice"         android:permission="android.permission.bind_notification_listener_service">         <intent-filter>             <action android:name="android.service.notification.notificationlistenerservice" />         </intent-filter>     </service> 

any ideas how fix issue?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -