build(Needs bump)!: Update to ReVanced Patcher v22 (#6542)
Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com> Co-authored-by: Pun Butrach <pun.butrach@gmail.com> Co-authored-by: Ushie <ushiekane@gmail.com> Co-authored-by: ILoveOpenSourceApplications <ILoveOpenSourceApplications@users.noreply.github.com> Co-authored-by: rospino74 <34315725+rospino74@users.noreply.github.com> Co-authored-by: drobotk <pawwwll@gmail.com> Co-authored-by: Sayanth <13906889+SayanthD@users.noreply.github.com> Co-authored-by: kitadai31 <90122968+kitadai31@users.noreply.github.com> BREAKING CHANGE: Deprecated APIs have been removed, and various APIs now use the updated ReVanced Patcher v22 APIs.
This commit is contained in:
parent
376f2af8d8
commit
ab2ac36e30
842 changed files with 12691 additions and 13203 deletions
|
|
@ -10,6 +10,7 @@ import android.os.Environment;
|
|||
import android.provider.MediaStore;
|
||||
import android.webkit.MimeTypeMap;
|
||||
|
||||
import app.revanced.extension.shared.ResourceType;
|
||||
import com.strava.mediamodels.data.MediaType;
|
||||
import com.strava.photos.data.Media;
|
||||
|
||||
|
|
@ -166,7 +167,7 @@ public final class AddMediaDownloadPatch {
|
|||
}
|
||||
|
||||
private static String getString(String name, String fallback) {
|
||||
int id = Utils.getResourceIdentifier(name, "string");
|
||||
int id = Utils.getResourceIdentifier(ResourceType.STRING, name);
|
||||
return id != 0
|
||||
? Utils.getResourceString(id)
|
||||
: fallback;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue