'Can intent filter works with Worker Manager

Previously, I had a service that started using an intent filter

<service
     android:name="abcservice"
     android:exported="true">
     <intent-filter>
                <action android:name="com.sdk.service.ACTION_TO_DOWNLOAD_PARAMS" />
     </intent-filter>
</service>

Nevertheless, IntentService is deprecated and replaced with Worker Manager. The issue is the tutorial does not mention away to wake the Worker class to work as a service.

I would like to know a proper steps to migrate the legacy intent service to work manager while keep the similar behaviour, i.e. can work via intent filter. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source