If notifications for a device are disabled when there is no connection with the HS, the push registration will still exist, so the device can still receive push notifications. In that cases, we were running into an issue where the wakelock for push notifications was started immediately after receiving a push but was never stopped and it ran for 3 minutes until its timeout, keeping the device awake for no reason. This patch changes `DefaultPushHandler` so if we don't need the wakelock it returns `false` and we can stop the wakelock early.
Firebase
Configuration
In order to make this module only know about Firebase, the plugin com.google.gms.google-services has been disabled from the app module.
To be able to change the values set to google_app_id in the file build.gradle.kts of this module, you should enable the plugin com.google.gms.google-services again, copy the file google-services.json to the folder /app/src/main, build the project, and check the generated file app/build/generated/res/google-services/<buildtype>/values/values.xml to import the generated values into the build.gradle.kts files.