exynos9610: Patch Shannon applications calls to getSimStateForSlotIndex
authorNolen Johnson <johnsonnolen@gmail.com>
Mon, 1 Jan 2024 07:41:10 +0000 (02:41 -0500)
committerNolen Johnson <johnsonnolen@gmail.com>
Mon, 1 Jan 2024 07:41:10 +0000 (02:41 -0500)
* Account for getSimStateForSlotIndex moving from SubscriptionManager to
  TelephonyManager.
* Simply apktool d *.apk, then grep for `getSimStateForSlotIndex`, and
  then replace all references to that to call from `TelephonyManager`
  instead of the existing call to `SubscriptionManager`.
* apktool b *.apk, and boom - functional IMS.

Reference: https://android-review.googlesource.com/c/platform/frameworks/base/+/2484178
Change-Id: I7574369d2a73d8751db8bef940fe8c3271c002ea

proprietary-files.txt

index e86e625243fe105617d3fdd49cfb9a6991e3dc22..846e2da3023a4b50612d5c87ee8833e40148c044 100644 (file)
@@ -61,13 +61,13 @@ product/priv-app/HotwordEnrollmentOKGoogleWM8280/HotwordEnrollmentOKGoogleWM8280
 product/priv-app/HotwordEnrollmentXGoogleWM8280/HotwordEnrollmentXGoogleWM8280.apk
 
 ## IMS
-app/ShannonIms/ShannonIms.apk|9ee5bb3048fd00ee0323ee83f8552cacda4aa361
+app/ShannonIms/ShannonIms.apk|e85ce47d7cdfc7dbf0b68eb8ee5ed1bc3de2841a
 lib64/libmedia.so:lib64/libmedia_ims.so
 lib64/libmediaadaptor.so
 priv-app/OemRilService/OemRilService.apk
-system_ext/app/ShannonDataService/ShannonDataService.apk
-system_ext/app/ShannonNetworkService/ShannonNetworkService.apk
-system_ext/app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksService.apk
+system_ext/app/ShannonDataService/ShannonDataService.apk|2d3856523a463738bff9cffd12f4c5a94de28e44
+system_ext/app/ShannonNetworkService/ShannonNetworkService.apk|507e83f2e419866cac9c5c750c92bf4bd126e249
+system_ext/app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksService.apk|be7a4a6ce5534fcc7bcde7018bf7f060c2b0f2ed
 system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
 system_ext/framework/com.android.hotwordenrollment.common.util.jar
 system_ext/lib/vendor.samsung_slsi.telephony.hardware.oemservice@1.0.so