mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-16 03:31:02 -04:00
Akkad nhi Bakkad
This commit is contained in:
@@ -25,7 +25,7 @@ import androidx.core.content.ContextCompat
|
||||
import androidx.hilt.work.HiltWorkerFactory
|
||||
import androidx.work.Configuration
|
||||
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.util.CommonUtil
|
||||
import com.aurora.store.util.DownloadWorkerUtil
|
||||
@@ -58,7 +58,7 @@ class AuroraApp : Application(), Configuration.Provider {
|
||||
private set
|
||||
|
||||
val enqueuedInstalls: MutableSet<String> = mutableSetOf()
|
||||
val events = FlowEvent()
|
||||
val events = EventFlow()
|
||||
}
|
||||
|
||||
override fun onCreate() {
|
||||
|
||||
@@ -6,9 +6,9 @@ import kotlinx.coroutines.flow.asSharedFlow
|
||||
import javax.inject.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)
|
||||
val busEvent = _busEvent.asSharedFlow()
|
||||
Reference in New Issue
Block a user