Compare commits

..

7 commits

Author SHA1 Message Date
ee40a5ec57
chore: add preference item 2025-08-11 10:26:02 +08:00
cbf9d3ea41
feat: global es10x mss settings 2025-08-11 10:26:02 +08:00
4c4fa058ae
feat: es10x mss as preference 2025-08-11 10:26:02 +08:00
a8b7482afb feat: version name suffix (#215)
All checks were successful
/ build-debug (push) Successful in 5m32s
see https://developer.android.com/build/build-variants

Reviewed-on: #215
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
2025-08-10 22:08:31 +02:00
3fed4b2bd6 fix: aid list (#217)
Some checks failed
/ build-debug (push) Has been cancelled
Reviewed-on: #217
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
2025-08-10 22:07:25 +02:00
deb0a372b1 feat: allow copy app version and source code url (#216)
Some checks failed
/ build-debug (push) Has been cancelled
Reviewed-on: #216
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
2025-08-10 22:07:10 +02:00
72ec20f824 feat: 16k page sizes (#211)
Some checks failed
/ build-debug (push) Has been cancelled
see https://developer.android.com/guide/practices/page-sizes

Reviewed-on: #211
Co-authored-by: septs <github@septs.pw>
Co-committed-by: septs <github@septs.pw>
2025-08-10 22:03:25 +02:00
7 changed files with 18 additions and 5 deletions

View file

@ -52,9 +52,12 @@ internal object PreferenceConstants {
# eUICC standard # eUICC standard
$EUICC_DEFAULT_ISDR_AID $EUICC_DEFAULT_ISDR_AID
# eSTK.me # ESTKme AUX (deprecated, use SE0 instead)
A06573746B6D65FFFFFFFF4953442D52 A06573746B6D65FFFFFFFF4953442D52
# ESTKme SE0
A06573746B6D65FFFF4953442D522030
# eSIM.me # eSIM.me
A0000005591010000000008900000300 A0000005591010000000008900000300

View file

@ -104,12 +104,14 @@
<Preference <Preference
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:title="@string/pref_info_app_version" app:title="@string/pref_info_app_version"
app:enableCopying="true"
app:key="pref_info_app_version" /> app:key="pref_info_app_version" />
<Preference <Preference
app:iconSpaceReserved="false" app:iconSpaceReserved="false"
app:title="@string/pref_info_source_code" app:title="@string/pref_info_source_code"
app:summary="@string/pref_info_source_code_url" app:summary="@string/pref_info_source_code_url"
app:enableCopying="true"
app:key="pref_info_source_code"> app:key="pref_info_source_code">
<intent <intent
android:action="android.intent.action.VIEW" android:action="android.intent.action.VIEW"

View file

@ -27,6 +27,9 @@ android {
} }
buildTypes { buildTypes {
defaultConfig {
versionNameSuffix = "-unpriv"
}
release { release {
isMinifyEnabled = false isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")

View file

@ -23,6 +23,9 @@ android {
} }
buildTypes { buildTypes {
defaultConfig {
versionNameSuffix = "-priv"
}
release { release {
isMinifyEnabled = false isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")

View file

@ -16,7 +16,7 @@ val Project.gitVersionCode: Int
standardOutput = stdout standardOutput = stdout
} }
stdout.toString("utf-8").trim('\n').toInt() stdout.toString("utf-8").trim('\n').toInt()
} catch (e: Exception) { } catch (_: Exception) {
0 0
} }
@ -29,7 +29,7 @@ val Project.gitVersionName: String
standardOutput = stdout standardOutput = stdout
} }
stdout.toString("utf-8").trim('\n') stdout.toString("utf-8").trim('\n')
} catch (e: Exception) { } catch (_: Exception) {
"Unknown" "Unknown"
} }
@ -38,7 +38,7 @@ class MyVersioningPlugin: Plugin<Project> {
target.configure<BaseAppModuleExtension> { target.configure<BaseAppModuleExtension> {
defaultConfig { defaultConfig {
versionCode = target.gitVersionCode versionCode = target.gitVersionCode
versionName = target.gitVersionName versionName = target.gitVersionName.removePrefix("unpriv-")
} }
applicationVariants.all { applicationVariants.all {

View file

@ -1,4 +1,5 @@
APP_ABI := all APP_ABI := all
APP_SHORT_COMMANDS := true APP_SHORT_COMMANDS := true
APP_CFLAGS := -Wno-compound-token-split-by-macro APP_CFLAGS := -Wno-compound-token-split-by-macro
APP_LDFLAGS := -Wl,--build-id=none -z muldefs APP_LDFLAGS := -Wl,--build-id=none -z muldefs
APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true

View file

@ -1,4 +1,5 @@
LOCAL_PATH := $(call my-dir) LOCAL_PATH := $(call my-dir)
LOCAL_LDFLAGS += "-Wl,-z,max-page-size=16384"
# function to find all *.c files under a directory # function to find all *.c files under a directory
define all-c-files-under define all-c-files-under