Skip to content

Commit 6c33911

Browse files
chore: Remove spoof stream data migration since iPadOS can cause 1 minute playback failure for users in some regions
1 parent 0b8b46c commit 6c33911

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

extensions/shared/library/src/main/java/app/revanced/extension/shared/settings/BaseSettings.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import static app.revanced.extension.shared.settings.Setting.parent;
66
import static app.revanced.extension.shared.spoof.SpoofVideoStreamsPatch.AudioStreamLanguageOverrideAvailability;
77

8-
import app.revanced.extension.shared.Logger;
98
import app.revanced.extension.shared.spoof.ClientType;
109

1110
/**
@@ -33,11 +32,4 @@ public class BaseSettings {
3332
public static final BooleanSetting SPOOF_STREAMING_DATA_STATS_FOR_NERDS = new BooleanSetting("revanced_spoof_streaming_data_stats_for_nerds", TRUE, parent(SPOOF_VIDEO_STREAMS));
3433
// Client type must be last spoof setting due to cyclic references.
3534
public static final EnumSetting<ClientType> SPOOF_VIDEO_STREAMS_CLIENT_TYPE = new EnumSetting<>("revanced_spoof_video_streams_client_type", ClientType.ANDROID_VR_1_61_48, true, parent(SPOOF_VIDEO_STREAMS));
36-
37-
static {
38-
if (SPOOF_VIDEO_STREAMS_CLIENT_TYPE.get() == ClientType.IOS_UNPLUGGED) {
39-
Logger.printInfo(() -> "Migrating from iOS Unplugged to iPadOS");
40-
SPOOF_VIDEO_STREAMS_CLIENT_TYPE.save(ClientType.IPADOS);
41-
}
42-
}
4335
}

extensions/shared/library/src/main/java/app/revanced/extension/shared/spoof/ClientType.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,6 @@ public enum ClientType {
113113
false,
114114
false,
115115
"iPadOS"
116-
),
117-
/**
118-
* Obsolete and broken client. Here only to migrate data.
119-
*/
120-
@Deprecated
121-
IOS_UNPLUGGED(
122-
33,
123-
"IOS_UNPLUGGED",
124-
"Apple",
125-
"iPhone16,2",
126-
"iOS",
127-
"18.2.22C152",
128-
"8.49",
129-
"dummy user-agent",
130-
true,
131-
true,
132-
"iOS TV"
133116
);
134117

135118
/**

0 commit comments

Comments
 (0)