Skip to content

Commit 74e677b

Browse files
committed
delete google-shortcut library
1 parent d826594 commit 74e677b

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ dependencies {
7979
//Splash Screen androidX
8080
implementation ("androidx.core:core-splashscreen:1.0.1")
8181

82-
//Shortcuts
83-
implementation("androidx.core:core-google-shortcuts:1.1.0")
84-
8582
//Secure SharedPref
8683
implementation("androidx.security:security-crypto-ktx:1.1.0-alpha06")
8784
}

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151

5252
<receiver
5353
android:name=".services.LockService$LockReceiver"
54-
android:exported="true">
54+
android:exported="true"
55+
tools:ignore="Instantiatable">
5556
<intent-filter>
5657
<action android:name="android.intent.action.SCREEN_ON"/>
5758
<action android:name="android.intent.action.SCREEN_OFF"/>

app/src/main/java/com/paranoid/privacylock/services/LockService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class LockService: Service() {
9696
stopSelf()
9797
}
9898

99-
private inner class LockReceiver : BroadcastReceiver() {
99+
public inner class LockReceiver : BroadcastReceiver() {
100100
override fun onReceive(context: Context?, intent: Intent?) {
101101
if (context != null && intent != null) {
102102

app/src/main/java/com/paranoid/privacylock/ui/MainActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class MainActivity : AppCompatActivity() {
4141
Color.parseColor("#801b1b1b")
4242
)
4343
)
44+
4445
createShortcuts(this)
4546

4647
super.onCreate(savedInstanceState)

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
plugins {
3-
id("com.android.application") version "8.2.0" apply false
4-
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
3+
id("com.android.application") version "8.7.1" apply false
4+
id("org.jetbrains.kotlin.android") version "2.0.0" apply false
55
id("com.google.dagger.hilt.android") version "2.46" apply false
66

77
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Tue Apr 23 15:20:42 EEST 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)