File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
shared/library/src/main/java/app/revanced/extension/shared/spoof
youtube/src/main/java/app/revanced/extension/youtube/settings/preference
patches/src/main/resources/addresources/values Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public enum ClientType {
6969 "132.0.6779.0" ,
7070 "23.47.101" ,
7171 true ,
72- "Android Creator "
72+ "Android Studio "
7373 ),
7474 /**
7575 * Internal YT client for an unreleased YT client. May stop working at any time.
Original file line number Diff line number Diff line change @@ -83,19 +83,19 @@ private void updateUI() {
8383
8484 String summary = str (clientType == ClientType .IPADOS
8585 ? "revanced_spoof_video_streams_about_ipados_summary"
86- // visionOS has same base side effects as Android VR.
86+ // Same base side effects for Android VR, Android Studio, and visionOS .
8787 : "revanced_spoof_video_streams_about_android_summary" );
8888
8989 if (clientType == ClientType .IPADOS ) {
90- summary = str ("revanced_spoof_video_streams_about_no_av1" )
91- + '\n' + summary ;
90+ summary += '\n' + str ("revanced_spoof_video_streams_about_no_av1" );
9291 } else if (clientType == ClientType .VISIONOS ) {
9392 summary = str ("revanced_spoof_video_streams_about_experimental" )
9493 + '\n' + summary
9594 + '\n' + str ("revanced_spoof_video_streams_about_no_av1" )
9695 + '\n' + str ("revanced_spoof_video_streams_about_kids_videos" );
97- } else {
98- summary += '\n' + str ("revanced_spoof_video_streams_about_kids_videos" );
96+ } else if (clientType == ClientType .ANDROID_CREATOR ) {
97+ summary += '\n' + str ("revanced_spoof_video_streams_about_no_av1" )
98+ + '\n' + str ("revanced_spoof_video_streams_about_kids_videos" );
9999 }
100100
101101 setSummary (summary );
Original file line number Diff line number Diff line change 138138 <patch id =" misc.fix.playback.spoofVideoStreamsPatch" >
139139 <string-array name =" revanced_spoof_video_streams_client_type_entries" >
140140 <item >Android VR</item >
141+ <item >Android Studio</item >
141142 <item >visionOS</item >
142143 <item >iPadOS</item >
143144 </string-array >
144145 <string-array name =" revanced_spoof_video_streams_client_type_entry_values" >
145146 <item >ANDROID_VR_1_61_48</item >
147+ <item >ANDROID_CREATOR</item >
146148 <item >VISIONOS</item >
147149 <item >IPADOS</item >
148150 </string-array >
You can’t perform that action at this time.
0 commit comments