Akkad nhi Bakkad
This commit is contained in:
@@ -25,7 +25,7 @@ import androidx.core.content.ContextCompat
|
|||||||
import androidx.hilt.work.HiltWorkerFactory
|
import androidx.hilt.work.HiltWorkerFactory
|
||||||
import androidx.work.Configuration
|
import androidx.work.Configuration
|
||||||
import com.aurora.extensions.isPAndAbove
|
import com.aurora.extensions.isPAndAbove
|
||||||
import com.aurora.store.data.event.FlowEvent
|
import com.aurora.store.data.event.EventFlow
|
||||||
import com.aurora.store.data.receiver.PackageManagerReceiver
|
import com.aurora.store.data.receiver.PackageManagerReceiver
|
||||||
import com.aurora.store.util.CommonUtil
|
import com.aurora.store.util.CommonUtil
|
||||||
import com.aurora.store.util.DownloadWorkerUtil
|
import com.aurora.store.util.DownloadWorkerUtil
|
||||||
@@ -58,7 +58,7 @@ class AuroraApp : Application(), Configuration.Provider {
|
|||||||
private set
|
private set
|
||||||
|
|
||||||
val enqueuedInstalls: MutableSet<String> = mutableSetOf()
|
val enqueuedInstalls: MutableSet<String> = mutableSetOf()
|
||||||
val events = FlowEvent()
|
val events = EventFlow()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import kotlinx.coroutines.flow.asSharedFlow
|
|||||||
import javax.inject.Singleton
|
import javax.inject.Singleton
|
||||||
|
|
||||||
@Singleton
|
@Singleton
|
||||||
class FlowEvent {
|
class EventFlow {
|
||||||
|
|
||||||
private val TAG = FlowEvent::class.java.simpleName
|
private val TAG = EventFlow::class.java.simpleName
|
||||||
|
|
||||||
private val _busEvent = MutableSharedFlow<BusEvent>(extraBufferCapacity = 1)
|
private val _busEvent = MutableSharedFlow<BusEvent>(extraBufferCapacity = 1)
|
||||||
val busEvent = _busEvent.asSharedFlow()
|
val busEvent = _busEvent.asSharedFlow()
|
||||||
Reference in New Issue
Block a user