chore: Merge branch dev to main (#6786)
Co-authored-by: Itroublve <115026399+Anajrim01@users.noreply.github.com> Co-authored-by: Dawid Krajcarz <80264606+drobotk@users.noreply.github.com> Co-authored-by: Lucas Martinati <127530926+lucas-martinati@users.noreply.github.com>
This commit is contained in:
commit
33aa830a1c
5 changed files with 35 additions and 26 deletions
21
CHANGELOG.md
21
CHANGELOG.md
|
|
@ -1,3 +1,24 @@
|
||||||
|
## [6.0.1-dev.3](https://github.com/ReVanced/revanced-patches/compare/v6.0.1-dev.2...v6.0.1-dev.3) (2026-03-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **GmsCore support:** use `prefixOrReplace` for non-matching APP_AUTHORITIES in content URL transformation ([#6801](https://github.com/ReVanced/revanced-patches/issues/6801)) ([8f6f128](https://github.com/ReVanced/revanced-patches/commit/8f6f128d718c20c56668ed3801b434a5cbb04dfd))
|
||||||
|
|
||||||
|
## [6.0.1-dev.2](https://github.com/ReVanced/revanced-patches/compare/v6.0.1-dev.1...v6.0.1-dev.2) (2026-03-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **YouTube Music - Hide buttons:** Crashes on startup due to null LayoutParams ([#6799](https://github.com/ReVanced/revanced-patches/issues/6799)) ([3e32c38](https://github.com/ReVanced/revanced-patches/commit/3e32c387328b061f33b361ed022ae18e447a7904))
|
||||||
|
|
||||||
|
## [6.0.1-dev.1](https://github.com/ReVanced/revanced-patches/compare/v6.0.0...v6.0.1-dev.1) (2026-03-15)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **YouTube:** Use correct query parameters for DeArrow requests ([#6780](https://github.com/ReVanced/revanced-patches/issues/6780)) ([02a48e7](https://github.com/ReVanced/revanced-patches/commit/02a48e7a5f2b1ffd64a80651b49666de27ab7014))
|
||||||
|
|
||||||
# [6.0.0](https://github.com/ReVanced/revanced-patches/compare/v5.50.2...v6.0.0) (2026-03-14)
|
# [6.0.0](https://github.com/ReVanced/revanced-patches/compare/v5.50.2...v6.0.0) (2026-03-14)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,11 +32,7 @@ import android.view.Window;
|
||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
import android.view.animation.Animation;
|
import android.view.animation.Animation;
|
||||||
import android.view.animation.AnimationUtils;
|
import android.view.animation.AnimationUtils;
|
||||||
import android.widget.FrameLayout;
|
|
||||||
import android.widget.LinearLayout;
|
|
||||||
import android.widget.RelativeLayout;
|
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
import android.widget.Toolbar;
|
|
||||||
|
|
||||||
import androidx.annotation.ColorInt;
|
import androidx.annotation.ColorInt;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
@ -138,6 +134,7 @@ public class Utils {
|
||||||
return versionName;
|
return versionName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public static String getApplicationName() {
|
public static String getApplicationName() {
|
||||||
if (applicationLabel == null) {
|
if (applicationLabel == null) {
|
||||||
try {
|
try {
|
||||||
|
|
@ -184,24 +181,13 @@ public class Utils {
|
||||||
* @param view The view to hide.
|
* @param view The view to hide.
|
||||||
*/
|
*/
|
||||||
public static void hideViewBy0dp(View view) {
|
public static void hideViewBy0dp(View view) {
|
||||||
if (view instanceof LinearLayout) {
|
ViewGroup.LayoutParams params = view.getLayoutParams();
|
||||||
LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(0, 0);
|
if (params == null)
|
||||||
view.setLayoutParams(layoutParams);
|
params = new ViewGroup.LayoutParams(0, 0);
|
||||||
} else if (view instanceof FrameLayout) {
|
|
||||||
FrameLayout.LayoutParams layoutParams2 = new FrameLayout.LayoutParams(0, 0);
|
params.width = 0;
|
||||||
view.setLayoutParams(layoutParams2);
|
params.height = 0;
|
||||||
} else if (view instanceof RelativeLayout) {
|
view.setLayoutParams(params);
|
||||||
RelativeLayout.LayoutParams layoutParams3 = new RelativeLayout.LayoutParams(0, 0);
|
|
||||||
view.setLayoutParams(layoutParams3);
|
|
||||||
} else if (view instanceof Toolbar) {
|
|
||||||
Toolbar.LayoutParams layoutParams4 = new Toolbar.LayoutParams(0, 0);
|
|
||||||
view.setLayoutParams(layoutParams4);
|
|
||||||
} else {
|
|
||||||
ViewGroup.LayoutParams params = view.getLayoutParams();
|
|
||||||
params.width = 0;
|
|
||||||
params.height = 0;
|
|
||||||
view.setLayoutParams(params);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -478,6 +464,7 @@ public class Utils {
|
||||||
return str != null && !str.isEmpty();
|
return str != null && !str.isEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public static boolean isTablet() {
|
public static boolean isTablet() {
|
||||||
return context.getResources().getConfiguration().smallestScreenWidthDp >= 600;
|
return context.getResources().getConfiguration().smallestScreenWidthDp >= 600;
|
||||||
}
|
}
|
||||||
|
|
@ -517,6 +504,7 @@ public class Utils {
|
||||||
return getTextDirectionString(isRightToLeftLocale());
|
return getTextDirectionString(isRightToLeftLocale());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public static String getTextDirectionString(Locale locale) {
|
public static String getTextDirectionString(Locale locale) {
|
||||||
return getTextDirectionString(isRightToLeftLocale(locale));
|
return getTextDirectionString(isRightToLeftLocale(locale));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -238,8 +238,8 @@ public final class AlternativeThumbnailsPatch {
|
||||||
// See https://github.com/ajayyy/DeArrowThumbnailCache/blob/29eb4359ebdf823626c79d944a901492d760bbbc/app.py#L29.
|
// See https://github.com/ajayyy/DeArrowThumbnailCache/blob/29eb4359ebdf823626c79d944a901492d760bbbc/app.py#L29.
|
||||||
return dearrowAPIURI
|
return dearrowAPIURI
|
||||||
.buildUpon()
|
.buildUpon()
|
||||||
.appendQueryParameter("videoId", videoId)
|
.appendQueryParameter("videoID", videoId)
|
||||||
.appendQueryParameter("redirectURL", fallbackURL)
|
.appendQueryParameter("redirectUrl", fallbackURL)
|
||||||
.build()
|
.build()
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ org.gradle.parallel = true
|
||||||
android.useAndroidX = true
|
android.useAndroidX = true
|
||||||
android.uniquePackageNames = false
|
android.uniquePackageNames = false
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 6.0.0
|
version = 6.0.1-dev.3
|
||||||
|
|
|
||||||
|
|
@ -252,7 +252,7 @@ fun gmsCoreSupportResourcePatch(
|
||||||
.joinToString(";") { authority ->
|
.joinToString(";") { authority ->
|
||||||
APP_AUTHORITIES += authority
|
APP_AUTHORITIES += authority
|
||||||
|
|
||||||
authority.replace(fromPackageName, toPackageName)
|
authority.prefixOrReplace(fromPackageName, toPackageName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue