Notification Trampolines
Notification Trampolines
Activities should not be launched indirectly from a notification via an intermediate BroadcastReceiver
or Service
. This can lead to significant lags in some scenarios, and is forbidden if targetSdkVersion
is set to the API level for Android 12 or higher.
To fix this, launch the Activity
directly from the notification.
Issue id: NotificationTrampoline
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for Android 2023.3, Qodana for JVM 2023.3 |
Plugin: | Android, 2022.3.1 Beta 2 |
Last modified: 13 July 2023