mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Roll back activateNow
This commit is contained in:
@@ -422,7 +422,7 @@ public final class ManagedAudioSession {
|
||||
if let strongSelf = self {
|
||||
for holder in strongSelf.holders {
|
||||
if holder.id == id && holder.active {
|
||||
strongSelf.setup(type: audioSessionType, outputMode: holder.outputMode, activateNow: true)
|
||||
strongSelf.setup(type: audioSessionType, outputMode: holder.outputMode, activateNow: false)
|
||||
break
|
||||
}
|
||||
}
|
||||
@@ -501,7 +501,7 @@ public final class ManagedAudioSession {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public func dropAll() {
|
||||
self.queue.async {
|
||||
self.updateHolders(interruption: true)
|
||||
|
||||
Reference in New Issue
Block a user