Skip to content

Commit dffb1e6

Browse files
chore: Merge branch dev to main (#6135)
2 parents 96454c8 + b8c2ede commit dffb1e6

File tree

40 files changed

+1079
-679
lines changed

40 files changed

+1079
-679
lines changed

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
1+
# [5.44.0-dev.4](https://github.com/ReVanced/revanced-patches/compare/v5.44.0-dev.3...v5.44.0-dev.4) (2025-10-24)
2+
3+
4+
### Features
5+
6+
* Add `Custom network security` patch ([#6151](https://github.com/ReVanced/revanced-patches/issues/6151)) ([e7336d2](https://github.com/ReVanced/revanced-patches/commit/e7336d2ef361cc5d6fe6e8442b36d9cf1f542931))
7+
* **Duolingo:** Add `Skip energy recharge ads` patch ([#6167](https://github.com/ReVanced/revanced-patches/issues/6167)) ([591e106](https://github.com/ReVanced/revanced-patches/commit/591e106098c6eff431b8b7ac7d985ce7373d701e))
8+
9+
# [5.44.0-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.44.0-dev.2...v5.44.0-dev.3) (2025-10-22)
10+
11+
12+
### Features
13+
14+
* **Duolingo - Enable debug menu:** Support latest app target ([#6163](https://github.com/ReVanced/revanced-patches/issues/6163)) ([08baa19](https://github.com/ReVanced/revanced-patches/commit/08baa19b4a62e62bd103d177c3f4454de199cf16))
15+
16+
# [5.44.0-dev.2](https://github.com/ReVanced/revanced-patches/compare/v5.44.0-dev.1...v5.44.0-dev.2) (2025-10-22)
17+
18+
19+
### Bug Fixes
20+
21+
* **Google Photos - Spoof features:** Add support for Pixel 10 devices ([#6161](https://github.com/ReVanced/revanced-patches/issues/6161)) ([754b719](https://github.com/ReVanced/revanced-patches/commit/754b71959a0155413eb33cf1bdc2c8976eaca634))
22+
23+
# [5.44.0-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.43.2-dev.3...v5.44.0-dev.1) (2025-10-22)
24+
25+
26+
### Features
27+
28+
* **Samsung Radio:** Add `Disable device checks` patch ([#6145](https://github.com/ReVanced/revanced-patches/issues/6145)) ([de97562](https://github.com/ReVanced/revanced-patches/commit/de97562c5ddc8ec707761c1e04e74c4e18f9c158))
29+
30+
## [5.43.2-dev.3](https://github.com/ReVanced/revanced-patches/compare/v5.43.2-dev.2...v5.43.2-dev.3) (2025-10-19)
31+
32+
33+
### Bug Fixes
34+
35+
* **YouTube - Hide layout components:** Hide new kind of community post ([#6146](https://github.com/ReVanced/revanced-patches/issues/6146)) ([cfd244b](https://github.com/ReVanced/revanced-patches/commit/cfd244b4088daacd2788ec38357ac521e4b296d5))
36+
37+
## [5.43.2-dev.2](https://github.com/ReVanced/revanced-patches/compare/v5.43.2-dev.1...v5.43.2-dev.2) (2025-10-17)
38+
39+
40+
### Bug Fixes
41+
42+
* **YouTube Music:** Resolve patching 7.29 target ([2e4c6fd](https://github.com/ReVanced/revanced-patches/commit/2e4c6fdcadeef45a80733e374421d52e5e8af910))
43+
44+
## [5.43.2-dev.1](https://github.com/ReVanced/revanced-patches/compare/v5.43.1...v5.43.2-dev.1) (2025-10-16)
45+
46+
47+
### Bug Fixes
48+
49+
* **X / Twitter - Change link sharing domain:** Use bytecode patching to resolve patching with Manager ([#6125](https://github.com/ReVanced/revanced-patches/issues/6125)) ([0af8c8a](https://github.com/ReVanced/revanced-patches/commit/0af8c8a766ae4ba6926404d59da2f14d649f91f7))
50+
151
## [5.43.1](https://github.com/ReVanced/revanced-patches/compare/v5.43.0...v5.43.1) (2025-10-15)
252

353

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies {
2+
compileOnly(project(":extensions:shared:library"))
3+
compileOnly(project(":extensions:samsung:radio:stub"))
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<manifest/>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
package app.revanced.extension.samsung.radio.misc.fix.crash;
2+
3+
import java.util.ArrayList;
4+
import java.util.Arrays;
5+
import java.util.List;
6+
7+
@SuppressWarnings("unused")
8+
public final class FixCrashPatch {
9+
/**
10+
* Injection point.
11+
* <p>
12+
* Add the required permissions to the request list to avoid crashes on API 34+.
13+
**/
14+
public static final String[] fixPermissionRequestList(String[] perms) {
15+
List<String> permsList = new ArrayList<>(Arrays.asList(perms));
16+
if (permsList.contains("android.permission.POST_NOTIFICATIONS")) {
17+
permsList.addAll(Arrays.asList("android.permission.RECORD_AUDIO", "android.permission.READ_PHONE_STATE", "android.permission.FOREGROUND_SERVICE_MICROPHONE"));
18+
}
19+
if (permsList.contains("android.permission.RECORD_AUDIO")) {
20+
permsList.add("android.permission.FOREGROUND_SERVICE_MICROPHONE");
21+
}
22+
return permsList.toArray(new String[0]);
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package app.revanced.extension.samsung.radio.restrictions.device;
2+
3+
import android.os.SemSystemProperties;
4+
5+
import java.util.Arrays;
6+
7+
@SuppressWarnings("unused")
8+
public final class BypassDeviceChecksPatch {
9+
10+
/**
11+
* Injection point.
12+
* <p>
13+
* Check if the device has the required hardware
14+
**/
15+
public static final boolean checkIfDeviceIsIncompatible(String[] deviceList) {
16+
String currentDevice = SemSystemProperties.getSalesCode();
17+
return Arrays.asList(deviceList).contains(currentDevice);
18+
}
19+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
plugins {
2+
alias(libs.plugins.android.library)
3+
}
4+
5+
android {
6+
namespace = "app.revanced.extension"
7+
compileSdk = 34
8+
9+
defaultConfig {
10+
minSdk = 24
11+
}
12+
13+
compileOptions {
14+
sourceCompatibility = JavaVersion.VERSION_11
15+
targetCompatibility = JavaVersion.VERSION_11
16+
}
17+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<manifest/>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package android.os;
2+
3+
public class SemSystemProperties {
4+
public static String getSalesCode() {
5+
throw new UnsupportedOperationException("Stub");
6+
}
7+
}

extensions/twitter/src/main/java/app/revanced/twitter/patches/links/ChangeLinkSharingDomainPatch.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ private static String getShareDomain() {
1111
return "";
1212
}
1313

14+
// TODO remove this once changeLinkSharingDomainResourcePatch is restored
15+
/**
16+
* Injection point.
17+
*/
18+
public static String formatResourceLink(Object... formatArgs) {
19+
String username = (String) formatArgs[0];
20+
String tweetId = (String) formatArgs[1];
21+
return String.format(LINK_FORMAT, getShareDomain(), username, tweetId);
22+
}
23+
1424
/**
1525
* Injection point.
1626
*/

extensions/youtube/src/main/java/app/revanced/extension/youtube/patches/components/LayoutComponentsFilter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ public LayoutComponentsFilter() {
8787
"post_shelf_slim.e",
8888
"videos_post_responsive_root.e",
8989
"text_post_responsive_root.e",
90-
"poll_post_responsive_root.e"
90+
"poll_post_responsive_root.e",
91+
"shared_post_root.e"
9192
);
9293

9394
final var subscribersCommunityGuidelines = new StringFilterGroup(

0 commit comments

Comments
 (0)