forked from ponces/treble_aosp
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 0002-ims-Replace-download-links-with-our-own.patch
- Loading branch information
1 parent
ad8988b
commit 674876a
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
From 0181b8401d7aac9afc44f9c72ed5467cfcc4efbf Mon Sep 17 00:00:00 2001 | ||
From: Alberto Ponces <[email protected]> | ||
Date: Wed, 5 Jun 2024 15:56:57 +0100 | ||
Subject: [PATCH 2/2] ims: Replace download links with our own | ||
|
||
--- | ||
.../java/me/phh/treble/app/ImsSettings.kt | 20 +++++++++---------- | ||
1 file changed, 10 insertions(+), 10 deletions(-) | ||
|
@@ -25,9 +20,19 @@ index 16f8ecf..5920a66 100644 | |
+ Ims.gotMtkQ -> Pair("https://github.com/Imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s.apk", "MediaTek Q vendor") | ||
+ Ims.gotMtkR -> Pair("https://github.com/Imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s.apk", "MediaTek R vendor") | ||
+ Ims.gotMtkS -> Pair("https://github.com/Imbroglius/vendor_imbroglius/raw/android-14.0/prebuilt/ims/ims-mtk-s.apk", "MediaTek S vendor") | ||
|
||
(Ims.gotQcomHidl || Ims.gotQcomAidl) && Build.VERSION.SDK_INT >= 34 | ||
- -> Pair("https://treble.phh.me/ims-caf-u.apk", "Qualcomm vendor") | ||
- Ims.gotQcomHidlMoto -> Pair("https://treble.phh.me/stable/ims-caf-moto.apk", "Qualcomm pre-S vendor (Motorola)") | ||
- Ims.gotQcomHidl -> Pair("https://treble.phh.me/stable/ims-q.64.apk", "Qualcomm pre-S vendor") | ||
- Ims.gotQcomAidl -> Pair("https://treble.phh.me/stable/ims-caf-s.apk", "Qualcomm S+ vendor") | ||
- else -> Pair("", "NOT SUPPORTED") | ||
+ -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-caf-u-signed.apk", "Qualcomm vendor") | ||
+ Ims.gotQcomHidlMoto -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-caf-moto-signed.apk", "Qualcomm pre-S vendor (Motorola)") | ||
+ Ims.gotQcomHidl -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-q.64-signed.apk", "Qualcomm pre-S vendor") | ||
+ Ims.gotQcomAidl -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-caf-s-signed.apk", "Qualcomm S+ vendor") | ||
+ else -> Pair("https://github.com/ponces/vendor_ponces/raw/android-14.0/prebuilt/ims/ims-floss-signed.apk", "FLOSS") | ||
} | ||
|
||
installIms!!.title = "Install IMS APK for $message" | ||
-- | ||
2.34.1 | ||
|