|
|
@@ -37,10 +37,6 @@ Java.perform(function () {
|
|
|
const Bundle = Java.use('android.os.Bundle')
|
|
|
aoks.d.overload('boolean', 'java.util.Map').implementation = function (b, map) {
|
|
|
trace('aoks.d()')
|
|
|
- Log.e(`${map.keySet().toArray()}, ${this.a.value._f.value}`)
|
|
|
- Log.e(`${map.get('UPI_FEATURES_ENABLED')}`)
|
|
|
- Log.e(`${map.get('515039672404610')}`)
|
|
|
- Java.cast(map.get('515039672404610'), Bundle).putString('IMSI', '515039672404610')
|
|
|
return this.d(b, map)
|
|
|
}
|
|
|
|
|
|
@@ -59,4 +55,14 @@ Java.perform(function () {
|
|
|
Log.e(`${request.a.value} ${request.b.value}`)
|
|
|
return this.c(request, response, i)
|
|
|
}
|
|
|
+
|
|
|
+ const BaseBundle = Java.use('android.os.BaseBundle')
|
|
|
+ BaseBundle.getInt.overload('java.lang.String', 'int').implementation = function (key, i) {
|
|
|
+ const value = this.getInt(key, i)
|
|
|
+ // Log.e(`[BaseBundle]${key}, ${i} -> ${value}`)
|
|
|
+ if (key == 'sim_slot_index') {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+ return this.getInt(key, i)
|
|
|
+ }
|
|
|
})
|