-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
lucky
committed
Apr 17, 2024
1 parent
c5cf18f
commit b706b94
Showing
16 changed files
with
244 additions
and
154 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
plugins { | ||
alias(libs.plugins.androidApplication) | ||
alias(libs.plugins.jetbrainsKotlinAndroid) | ||
alias(libs.plugins.googleDevtoolsKsp) | ||
} | ||
|
||
android { | ||
namespace = "me.lucky.silence" | ||
compileSdk = 34 | ||
|
||
defaultConfig { | ||
applicationId = "me.lucky.silence" | ||
minSdk = 29 | ||
targetSdk = 34 | ||
versionCode = 50 | ||
versionName = "1.11.6" | ||
|
||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" | ||
vectorDrawables { | ||
useSupportLibrary = true | ||
} | ||
ksp { | ||
arg("room.schemaLocation", "$projectDir/schemas") | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
isMinifyEnabled = false | ||
proguardFiles( | ||
getDefaultProguardFile("proguard-android-optimize.txt"), | ||
"proguard-rules.pro" | ||
) | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility = JavaVersion.VERSION_17 | ||
targetCompatibility = JavaVersion.VERSION_17 | ||
} | ||
kotlinOptions { | ||
jvmTarget = "17" | ||
} | ||
buildFeatures { | ||
compose = true | ||
} | ||
composeOptions { | ||
kotlinCompilerExtensionVersion = "1.5.11" | ||
} | ||
packaging { | ||
resources { | ||
excludes += "/META-INF/{AL2.0,LGPL2.1}" | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation(libs.androidx.core.ktx) | ||
// implementation(libs.androidx.lifecycle.runtime.ktx) | ||
implementation(libs.androidx.activity.compose) | ||
implementation(platform(libs.androidx.compose.bom)) | ||
implementation(libs.androidx.ui) | ||
// implementation(libs.androidx.ui.graphics) | ||
implementation(libs.androidx.ui.tooling.preview) | ||
implementation(libs.androidx.material3) | ||
testImplementation(libs.junit) | ||
androidTestImplementation(libs.androidx.junit) | ||
// androidTestImplementation(libs.androidx.espresso.core) | ||
androidTestImplementation(platform(libs.androidx.compose.bom)) | ||
androidTestImplementation(libs.androidx.ui.test.junit4) | ||
debugImplementation(libs.androidx.ui.tooling) | ||
debugImplementation(libs.androidx.ui.test.manifest) | ||
|
||
implementation(libs.androidx.foundation) | ||
implementation(libs.androidx.foundation.layout) | ||
implementation(libs.androidx.navigation.compose) | ||
implementation(libs.androidx.preference.ktx) | ||
implementation(libs.androidx.room.runtime) | ||
ksp(libs.androidx.room.compiler) | ||
implementation(libs.google.libphonenumber) | ||
implementation(libs.guardianproject.panic) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
app/src/main/java/me/lucky/silence/panic/PanicResponderActivity.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<!-- Base application theme. --> | ||
<style name="Theme.Silence" parent="Theme.Material3.DayNight.NoActionBar"> | ||
<!-- Customize your theme here. --> | ||
<item name="android:windowTranslucentStatus">true</item> | ||
</style> | ||
<style name="Theme.Silence" parent="android:Theme.Material.Light.NoActionBar" /> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
Sample backup rules file; uncomment and customize as necessary. | ||
See https://developer.android.com/guide/topics/data/autobackup | ||
for details. | ||
Note: This file is ignored for devices older that API 31 | ||
See https://developer.android.com/about/versions/12/backup-restore | ||
--> | ||
<full-backup-content> | ||
<!-- | ||
<include domain="sharedpref" path="."/> | ||
<exclude domain="sharedpref" path="device.xml"/> | ||
--> | ||
</full-backup-content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!-- | ||
Sample data extraction rules file; uncomment and customize as necessary. | ||
See https://developer.android.com/about/versions/12/backup-restore#xml-changes | ||
for details. | ||
--> | ||
<data-extraction-rules> | ||
<cloud-backup> | ||
<!-- TODO: Use <include> and <exclude> to control what is backed up. | ||
<include .../> | ||
<exclude .../> | ||
--> | ||
</cloud-backup> | ||
<!-- | ||
<device-transfer> | ||
<include .../> | ||
<exclude .../> | ||
</device-transfer> | ||
--> | ||
</data-extraction-rules> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
plugins { | ||
alias(libs.plugins.androidApplication) apply false | ||
alias(libs.plugins.jetbrainsKotlinAndroid) apply false | ||
alias(libs.plugins.googleDevtoolsKsp) apply false | ||
} |
Oops, something went wrong.