From 9a9835f80498403dfeb35ed13c383f7c33f8af02 Mon Sep 17 00:00:00 2001 From: Akansh Sirohi Date: Tue, 12 Sep 2023 00:11:51 +0530 Subject: [PATCH] Minor Fix --- app/build.gradle | 3 +-- app/src/main/java/com/akansh/fileserversuit/MainActivity.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index b6a037a..cf22c60 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -54,14 +54,13 @@ android { // } // into('build/intermediates/assets/release') // } - +// // tasks.configureEach { task -> // if (task.name.startsWith('assemble')) { // task.dependsOn fixLineEndings // } // } - namespace 'com.akansh.fileserversuit' } diff --git a/app/src/main/java/com/akansh/fileserversuit/MainActivity.java b/app/src/main/java/com/akansh/fileserversuit/MainActivity.java index d006c6b..fafd712 100644 --- a/app/src/main/java/com/akansh/fileserversuit/MainActivity.java +++ b/app/src/main/java/com/akansh/fileserversuit/MainActivity.java @@ -266,7 +266,7 @@ public void onReceive(Context context, final Intent intent) { } } }; -// registerReceiver(updateUIReciver, filter); + ContextCompat.registerReceiver(this, updateUIReciver, filter, ContextCompat.RECEIVER_NOT_EXPORTED); FloatingActionButton qrBtn = findViewById(R.id.qrBtn); qrBtn.setOnClickListener(v -> toggleQRView());