Compare commits
7 commits
d8ef0415b2
...
ee40a5ec57
Author | SHA1 | Date | |
---|---|---|---|
ee40a5ec57 | |||
cbf9d3ea41 | |||
4c4fa058ae | |||
a8b7482afb | |||
3fed4b2bd6 | |||
deb0a372b1 | |||
72ec20f824 |
7 changed files with 18 additions and 5 deletions
|
@ -52,9 +52,12 @@ internal object PreferenceConstants {
|
|||
# eUICC standard
|
||||
$EUICC_DEFAULT_ISDR_AID
|
||||
|
||||
# eSTK.me
|
||||
# ESTKme AUX (deprecated, use SE0 instead)
|
||||
A06573746B6D65FFFFFFFF4953442D52
|
||||
|
||||
# ESTKme SE0
|
||||
A06573746B6D65FFFF4953442D522030
|
||||
|
||||
# eSIM.me
|
||||
A0000005591010000000008900000300
|
||||
|
||||
|
|
|
@ -104,12 +104,14 @@
|
|||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/pref_info_app_version"
|
||||
app:enableCopying="true"
|
||||
app:key="pref_info_app_version" />
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:title="@string/pref_info_source_code"
|
||||
app:summary="@string/pref_info_source_code_url"
|
||||
app:enableCopying="true"
|
||||
app:key="pref_info_source_code">
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
|
|
|
@ -27,6 +27,9 @@ android {
|
|||
}
|
||||
|
||||
buildTypes {
|
||||
defaultConfig {
|
||||
versionNameSuffix = "-unpriv"
|
||||
}
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
|
|
|
@ -23,6 +23,9 @@ android {
|
|||
}
|
||||
|
||||
buildTypes {
|
||||
defaultConfig {
|
||||
versionNameSuffix = "-priv"
|
||||
}
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
||||
|
|
|
@ -16,7 +16,7 @@ val Project.gitVersionCode: Int
|
|||
standardOutput = stdout
|
||||
}
|
||||
stdout.toString("utf-8").trim('\n').toInt()
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
0
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,7 @@ val Project.gitVersionName: String
|
|||
standardOutput = stdout
|
||||
}
|
||||
stdout.toString("utf-8").trim('\n')
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
"Unknown"
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ class MyVersioningPlugin: Plugin<Project> {
|
|||
target.configure<BaseAppModuleExtension> {
|
||||
defaultConfig {
|
||||
versionCode = target.gitVersionCode
|
||||
versionName = target.gitVersionName
|
||||
versionName = target.gitVersionName.removePrefix("unpriv-")
|
||||
}
|
||||
|
||||
applicationVariants.all {
|
||||
|
|
|
@ -2,3 +2,4 @@ APP_ABI := all
|
|||
APP_SHORT_COMMANDS := true
|
||||
APP_CFLAGS := -Wno-compound-token-split-by-macro
|
||||
APP_LDFLAGS := -Wl,--build-id=none -z muldefs
|
||||
APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
LOCAL_LDFLAGS += "-Wl,-z,max-page-size=16384"
|
||||
|
||||
# function to find all *.c files under a directory
|
||||
define all-c-files-under
|
||||
|
|
Loading…
Add table
Reference in a new issue