Add comments

This commit is contained in:
sim 2022-08-25 08:57:27 +02:00
parent a4dd08ddb3
commit 42c580c249

View file

@ -47,6 +47,8 @@ class UnifiedPushHelper @Inject constructor(
private val fcmHelper: FcmHelper, private val fcmHelper: FcmHelper,
) { ) {
// Called when the home activity starts
// or when notifications are enabled
fun register( fun register(
activity: FragmentActivity, activity: FragmentActivity,
onDoneRunnable: Runnable? = null, onDoneRunnable: Runnable? = null,
@ -117,6 +119,8 @@ class UnifiedPushHelper @Inject constructor(
} }
} }
// There is no case where this function is called
// with a saved distributor and/or a pusher
private fun openDistributorDialogInternal( private fun openDistributorDialogInternal(
activity: FragmentActivity, activity: FragmentActivity,
onDoneRunnable: Runnable?, onDoneRunnable: Runnable?,