Starting activity with an intent in a Worker does not work on some devices
I am trying to implement a Worker using WorkManager API to open an activity only once on a specific time/date when the app is in background, It does work in my emulator even on Android 12 but when I run it on my Redmi note 8 phone it does not open the activity although the workers are working normally on the same phone
OpenActivityWorker.kt
class OpenActivityWorker(val context: Context, private val workerParameters: WorkerParameters) : Worker(context, workerParameters) {...