From c90821a4d031cc1b270713a7aa39b7049ac91cd1 Mon Sep 17 00:00:00 2001 From: Kyujin Cho Date: Fri, 16 Feb 2024 18:22:10 +0900 Subject: [PATCH 1/3] chore(deps): lower minimum SDK version to 29 (#252) --- app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index 1e03b81..8ab5374 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { applicationId "dev.bluehouse.enablevolte" - minSdk 30 + minSdk 29 targetSdk 33 versionCode 12 versionName "1.2.7" From 51a7c73d9356475dcaa61b1bcd6ccfffc7d2a1bf Mon Sep 17 00:00:00 2001 From: Joy <29514446+fillwithjoy1@users.noreply.github.com> Date: Fri, 16 Feb 2024 19:30:16 +1000 Subject: [PATCH 2/3] docs: add Telstra to compatibility chart (#238) --- README.en.md | 2 +- docs/compatibility-chart.en.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.en.md b/README.en.md index 827240c..a735c58 100644 --- a/README.en.md +++ b/README.en.md @@ -37,7 +37,7 @@ Carriers which aren't possible for testing by developer but reported as supporte #### Optional -only if installing Schizuku using ADB +only if installing Shizuku using ADB - Windows, macOS or Linux PC with [Android Platform Tools](https://developer.android.com/studio/command-line/adb) installed - USB-A to USB-C or USB-C to USB-C cable to connect Pixel to the PC diff --git a/docs/compatibility-chart.en.md b/docs/compatibility-chart.en.md index 5e11525..ff7c0a5 100644 --- a/docs/compatibility-chart.en.md +++ b/docs/compatibility-chart.en.md @@ -42,5 +42,6 @@ Carrier not being listed on the table does not mean that this patch won't work f | Europe | Spain (214) | Orange (03) | O | O | MVNO: spn: JAZZTEL. [Reference](https://github.com/kyujin-cho/pixel-volte-patch/discussions/1#discussioncomment-6869373) | | Europe | Turkey (286) | Turkcell (01) | O | O | May need to register to carrier from other device and `ims` APN. [Reference](https://github.com/kyujin-cho/pixel-volte-patch/discussions/1#discussioncomment-6261820) | | Oceania | New Zealand (530) | Spark NZ (05) | O | O | [Reference](https://github.com/kyujin-cho/pixel-volte-patch/discussions/1#discussioncomment-4940003) | +| Oceania | Australia (505) | Telstra (01) | O | O | Backup Calling doesn't seem to work (could be a handset issue) [Reference](https://github.com/kyujin-cho/pixel-volte-patch/pull/238) | Oceania | New Zealand (530) | 2degrees NZ (24) | O | X | VoWiFi doesn't seem to work regardless of whether 'ims' APN is present or not. Post June 2023 Security Patch, VoLTE and 5G (NR) seem to be natively enabled now. [Reference](https://github.com/kyujin-cho/pixel-volte-patch/discussions/1#discussioncomment-5644517) | | Europe | Hungary (216) | Vodafone (70) | Yes | ? | VoLTE works | From e3a03f481db47fcffa2c45be5d145ea7793756cf Mon Sep 17 00:00:00 2001 From: huajijam <29218242+huajijam@users.noreply.github.com> Date: Fri, 16 Feb 2024 17:31:18 +0800 Subject: [PATCH 3/3] feat: use stringResource in NavBar / update zh_rCN translation (#241) --- .../java/dev/bluehouse/enablevolte/HomeActivity.kt | 13 +++++++------ app/src/main/res/values-zh-rCN/strings.xml | 14 ++++++++------ app/src/main/res/values/strings.xml | 4 +++- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/app/src/main/java/dev/bluehouse/enablevolte/HomeActivity.kt b/app/src/main/java/dev/bluehouse/enablevolte/HomeActivity.kt index c0974f9..3f10847 100644 --- a/app/src/main/java/dev/bluehouse/enablevolte/HomeActivity.kt +++ b/app/src/main/java/dev/bluehouse/enablevolte/HomeActivity.kt @@ -81,14 +81,15 @@ class HomeActivity : ComponentActivity() { @OptIn(ExperimentalMaterial3Api::class) @Composable fun PixelIMSApp() { + val context = LocalContext.current val navController = rememberNavController() - val carrierModer = CarrierModer(LocalContext.current) + val carrierModer = CarrierModer(context) val currentBackStackEntry by navController.currentBackStackEntryAsState() var subscriptions by rememberSaveable { mutableStateOf(listOf()) } var navBuilder by remember { mutableStateOf Unit>({ - composable("home", "Home") { + composable("home", context.resources.getString(R.string.home)) { Home(navController) } }) @@ -104,18 +105,18 @@ fun PixelIMSApp() { fun generateNavBuilder(): (NavGraphBuilder.() -> Unit) { return { - composable("home", "Home") { + composable("home", context.resources.getString(R.string.home)) { Home(navController) } for (subscription in subscriptions) { navigation(startDestination = "config${subscription.subscriptionId}", route = "config${subscription.subscriptionId}root") { - composable("config${subscription.subscriptionId}", "SIM Config") { + composable("config${subscription.subscriptionId}", context.resources.getString(R.string.sim_config)) { Config(navController, subscription.subscriptionId) } - composable("config${subscription.subscriptionId}/dump", "Config Dump Viewer") { + composable("config${subscription.subscriptionId}/dump", context.resources.getString(R.string.config_dump_viewer)) { DumpedConfig(subscription.subscriptionId) } - composable("config${subscription.subscriptionId}/edit", "Expert Mode") { + composable("config${subscription.subscriptionId}/edit", context.resources.getString(R.string.expert_mode)) { Editor(subscription.subscriptionId) } } diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index 8cdeddd..8df022e 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -26,17 +26,17 @@ 启用视频通话(VT) UT接口下启用补充业务 CDMA下启用补充业务 - 检测到SIM - 支持VoLTE - IMS状态 - 卡 %1$s 的IMS状态 + 检测到 SIM + 支持 VoLTE + IMS 状态 + 卡 %1$s 的 IMS 状态 已注册 未注册 有新版本 %1$s 可用! 启用/禁用功能 显示设置 - 使用4G替换LTE图标 + 使用 4G 替换 LTE 图标 显示 VoWiFI 图标 始终显示数据速率图标 隐藏增强4G(LTE+)图标 @@ -63,8 +63,10 @@ 重新注册IMS 请稍后… 专家模式 - 加载中... + 加载中… 已加载 %1$s 共 %2$s 更改值 搜索 + SIM 配置 + 配置转储查看器 \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index bcedb1d..7b9938d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -62,8 +62,10 @@ Restart IMS registration Working on it… Expert Mode - Loading... + Loading… Loaded %1$s of %2$s Edit Value Search + SIM Config + Config Dump Viewer